*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #263238;
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #5C6BC0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    font-family: "Lora", "Times New Roman", serif;
    color: #111827;
    margin-top: 0;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
    background-color: #5C6BC0;
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(92, 107, 192, 0.35);
}

.primary-btn:hover {
    background-color: #3F51B5;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(92, 107, 192, 0.45);
    text-decoration: none;
}

.secondary-btn {
    background-color: #EFEBE9;
    color: #37474F;
    border-color: #D7CCC8;
}

.secondary-btn:hover {
    background-color: #E0D7D3;
    text-decoration: none;
}

.ghost-btn {
    background-color: #5C6BC0;
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.ghost-btn:hover {
    text-decoration: none;
}

.text-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.text-link::after {
    content: "↗";
    font-size: 0.75rem;
    margin-left: 0.3rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(176, 190, 197, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #EFEBE9, #37474F);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-text {
    font-size: 0.98rem;
    white-space: nowrap;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    font-size: 0.94rem;
    font-weight: 500;
    color: #455A64;
    position: relative;
    padding-bottom: 0.2rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #5C6BC0;
    transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    border: none;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.35rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: #37474F;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #ffffff;
        border-bottom: 1px solid rgba(176, 190, 197, 0.4);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-nav.open {
        max-height: 220px;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 0.5rem 1.25rem 1.1rem;
        gap: 0.6rem;
    }
}

.home-page .hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr);
    background: linear-gradient(135deg, #ECEFF1, #ffffff);
    padding-bottom: 2.5rem;
}

.home-page .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0, rgba(92, 107, 192, 0.25), transparent 60%), radial-gradient(circle at 90% 100%, rgba(55, 71, 79, 0.16), transparent 55%);
    opacity: 0.45;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-media {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    max-height: 520px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
    transform: scale(1.03);
}

.curtain-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52%;
    background-image: linear-gradient(135deg, rgba(239, 235, 233, 0.98), rgba(224, 214, 209, 0.98));
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.18);
    transform-origin: left center;
    transition: transform 1.3s ease-in-out;
}

.curtain-left {
    left: 0;
    border-radius: 0 42px 42px 0;
}

.curtain-right {
    right: 0;
    border-radius: 42px 0 0 42px;
    transform-origin: right center;
}

.curtain-reveal.ready .curtain-left {
    transform: translateX(-100%);
}

.curtain-reveal.ready .curtain-right {
    transform: translateX(100%);
}

.hero-content {
    margin-top: -3.1rem;
    position: relative;
    z-index: 2;
    padding-top: 1.4rem;
}

.hero-content h1 {
    font-size: 1.9rem;
    max-width: 28rem;
}

.hero-content p {
    max-width: 30rem;
    color: #546E7A;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(239, 235, 233, 0.9);
    color: #5C6BC0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #5C6BC0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.4rem 0 1.6rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(55, 71, 79, 0.22);
    max-width: 640px;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #90A4AE;
}

.meta-value {
    font-size: 0.9rem;
    color: #37474F;
}

.intro-strip {
    padding: 2.5rem 0 2.75rem;
    background-color: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: center;
}

.intro-grid h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.stat-number {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    color: #37474F;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #78909C;
}

.section-header {
    text-align: left;
    margin-bottom: 1.7rem;
}

.section-header p {
    max-width: 30rem;
    color: #607D8B;
}

.fabric-showcase {
    padding: 2.75rem 0 3.25rem;
    background: linear-gradient(180deg, #F7F3F1, #ffffff);
}

.fabric-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fabric-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 1.1rem;
    overflow: hidden;
    scroll-behavior: smooth;
}

.fabric-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 0.85rem 0.85rem 1.15rem;
    box-shadow: 0 12px 30px rgba(55, 71, 79, 0.16);
    min-height: 100%;
}

.fabric-card img {
    border-radius: 18px;
    margin-bottom: 0.7rem;
    height: auto;
    object-fit: cover;
    display: block;
    width: 100%;
}

.fabric-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.fabric-card p {
    font-size: 0.9rem;
    color: #607D8B;
}

.slider-arrow {
    border-radius: 999px;
    width: 36px;
    height: 36px;
    border: 1px solid #D7CCC8;
    background-color: rgba(255, 255, 255, 0.98);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.slider-arrow:hover {
    background-color: #EFEBE9;
    box-shadow: 0 10px 20px rgba(55, 71, 79, 0.18);
    transform: translateY(-1px);
}

.products-preview {
    padding: 2.75rem 0;
    background-color: #ffffff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.product-card {
    background-color: #F9F7F6;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px rgba(55, 71, 79, 0.12);
    transform: translateY(10px);
    opacity: 0;
    justify-content: space-between;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.product-card img {
    height: 180px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.05rem;
    margin: 0.75rem 0 0.3rem;
    padding: 0 0.85rem;
}

.product-card p {
    font-size: 0.9rem;
    color: #607D8B;
    padding: 0 0.85rem 0.6rem;
}

.product-card .text-link {
    padding: 0 0.85rem 0.85rem;
}

.product-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.measurement-guide {
    padding: 2.75rem 0 3.25rem;
    background: radial-gradient(circle at 0 0, #ECEFF1, #ffffff);
}

.measurement-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
}

.measurement-steps {
    list-style: none;
    margin: 1.3rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.measurement-steps h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.measurement-steps p {
    font-size: 0.9rem;
    color: #607D8B;
}

.measurement-aside {
    position: relative;
}

.measurement-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 1.3rem 1.3rem 1.4rem;
    box-shadow: 0 18px 40px rgba(55, 71, 79, 0.18);
    border: 1px solid rgba(207, 216, 220, 0.9);
}

.measurement-card ul {
    margin: 0.7rem 0 1rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #607D8B;
}

.parallax-strip {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(55, 71, 79, 0.05) 25%, transparent 25%, transparent 50%, rgba(55, 71, 79, 0.05) 50%, rgba(55, 71, 79, 0.05) 75%, transparent 75%, transparent);
    background-size: 32px 32px;
    transform: translateY(0);
    will-change: transform;
    opacity: 0.8;
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.parallax-content p {
    margin: 0;
    font-size: 1.05rem;
    color: #37474F;
}

.cta-section {
    padding: 3rem 0 3.5rem;
}

.cta-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.1rem;
    font-weight: 600;
}

.inline-enquiry-form {
    background-color: #F7F3F1;
    border-radius: 20px;
    padding: 1.3rem 1.3rem 1.4rem;
    box-shadow: 0 10px 26px rgba(55, 71, 79, 0.12);
}

.form-row {
    margin-bottom: 0.85rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #455A64;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #CFD8DC;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #ffffff;
}

textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 90px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #5C6BC0;
    box-shadow: 0 0 0 1px rgba(92, 107, 192, 0.3);
}

.consent-row label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.82rem;
    color: #546E7A;
}

.consent-row input[type="checkbox"] {
    margin-top: 0.1rem;
}

.form-note {
    font-size: 0.8rem;
    color: #78909C;
    margin-top: 0.4rem;
}

.form-error {
    font-size: 0.82rem;
    color: #B71C1C;
    margin-top: 0.4rem;
}

.site-footer {
    background-color: #263238;
    color: #ECEFF1;
    margin-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 2.2rem 1.25rem 1.8rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #B0BEC5;
    max-width: 18rem;
}

.site-footer h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #CFD8DC;
    margin-bottom: 0.7rem;
}

.site-footer a {
    color: #ECEFF1;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(144, 164, 174, 0.5);
    padding: 0.8rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #B0BEC5;
}

.footer-small {
    opacity: 0.9;
}

.page-hero {
    padding: 2.4rem 0 2.6rem;
    background: linear-gradient(135deg, #ECEFF1, #ffffff);
}

.page-hero.narrow {
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
}

.page-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.page-hero p {
    max-width: 34rem;
    color: #607D8B;
}

.products-page .product-collection {
    padding: 2.5rem 0 3rem;
}

.product-collection-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr);
    gap: 2.1rem;
}

.collection-item {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
    gap: 1.6rem;
    align-items: center;
    background-color: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(55, 71, 79, 0.15);
    overflow: hidden;
    padding: 0.9rem 0.9rem 0.9rem 0.9rem;
}

.collection-media img {
    border-radius: 22px;
    height: 100%;
    object-fit: cover;
}

.collection-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.collection-content p {
    font-size: 0.95rem;
    color: #546E7A;
}

.collection-content ul {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #607D8B;
}

.product-note {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: #546E7A;
}

.gallery-page .masonry-gallery {
    padding: 2.5rem 0 3rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(55, 71, 79, 0.18);
    background-color: #ffffff;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.masonry-item figcaption {
    padding: 0.75rem 1rem 0.9rem;
    font-size: 0.9rem;
    color: #546E7A;
}

.masonry-item.tall img {
    object-fit: cover;
    max-height: 520px;
}

.masonry-item.wide img {
    object-fit: cover;
}

.gallery-cta {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: #546E7A;
}

.contact-layout {
    padding: 2.4rem 0 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2.1rem;
    align-items: flex-start;
}

.contact-details p {
    font-size: 0.95rem;
    color: #546E7A;
}

.contact-detail-block {
    margin-top: 1rem;
}

.contact-detail-block h3 {
    font-size: 0.98rem;
    margin-bottom: 0.1rem;
}

.contact-form-wrapper {
    background-color: #F7F3F1;
    border-radius: 22px;
    padding: 1.5rem 1.5rem 1.7rem;
    box-shadow: 0 16px 38px rgba(55, 71, 79, 0.18);
}

.map-section {
    padding: 0 0 3rem;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: 2rem;
    align-items: center;
}

.map-copy p {
    color: #546E7A;
    font-size: 0.95rem;
}

.map-embed iframe {
    width: 100%;
    border-radius: 20px;
    min-height: 260px;
}

.policy-content {
    padding: 2.5rem 0 3.2rem;
}

.policy-body {
    max-width: 760px;
}

.policy-body h2 {
    font-size: 1.1rem;
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
}

.policy-body p,
.policy-body ul {
    font-size: 0.95rem;
    color: #546E7A;
}

.policy-body ul {
    padding-left: 1.2rem;
}

.success-page {
    background: radial-gradient(circle at 0 0, #ECEFF1, #ffffff);
    min-height: 100vh;
    font-family: "Open Sans", system-ui, sans-serif;
}

.success-main {
    width: 100%;
    padding: 1.5rem;
    min-height: calc(100vh - 400px);
}

.success-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 28px;
    padding: 2.2rem 1.8rem 2.1rem;
    text-align: center;
    box-shadow: 0 22px 48px rgba(55, 71, 79, 0.25);
    margin-inline: auto;
}

.success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #EFEBE9, #5C6BC0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.success-icon span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
}

.success-card h1 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.success-card p {
    font-size: 0.95rem;
    color: #546E7A;
}

.success-details {
    margin: 1rem 0 1.4rem;
    font-size: 0.9rem;
}

.success-card .btn {
    margin-top: 0.2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-page .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        align-items: center;
        min-height: 80vh;
        padding-bottom: 3.5rem;
    }

    .hero-media {
        min-height: 420px;
        max-height: none;
    }

    .hero-content {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .collection-media img {
        max-height: 260px;
    }

    .contact-grid,
    .map-layout,
    .cta-layout,
    .measurement-layout,
    .intro-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .map-layout {
        align-items: flex-start;
    }

    .hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.7rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hero-content {
        margin-top: -2.2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-meta {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 18px;
    }

    .intro-grid {
        gap: 1.7rem;
    }

    .intro-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fabric-track {
        grid-auto-columns: minmax(80%, 1fr);
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .masonry-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .masonry-item {
        margin: 0;
    }

    .cta-layout {
        gap: 1.6rem;
    }

    .inline-enquiry-form {
        padding: 1.1rem 1rem 1.3rem;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-item {
        padding: 0.8rem;
    }

    .page-hero h1 {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding-inline: 1rem;
    }

    .logo-text {
        max-width: 120px;
        white-space: normal;
    }

    .intro-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.9rem;
    }

    .cta-contact {
        flex-direction: column;
        gap: 0.4rem;
    }

    .success-card {
        padding-inline: 1.4rem;
    }
}