/* ==============================================================
   Avaia.studio v4 — close recreation of the live Wix layout
   ============================================================== */

:root {
    --c-white: #FFFFFF;
    --c-black: #000000;
    --c-olive: #59584B;
    --c-cream: #E5DCC0;
    --c-stone-100: #D5D5CD;
    --c-stone-300: #ACABA3;

    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body-serif: 'Cinzel', 'Trajan Pro', serif;
    --font-nav: 'Jost', 'Avenir Next', 'Poppins', sans-serif;

    --max: 1440px;
    --pad: clamp(1.5rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-display);
    font-weight: 200;
    color: var(--c-black);
    background: var(--c-white);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }

/* ============ Header ============ */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 1.4rem var(--pad);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 2rem;
    pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header.solid {
    position: sticky;
    background: var(--c-white);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--c-black);
    font-family: var(--font-display);
}
.brand-line-1 {
    font-size: 1.75rem;
    font-weight: 200;
    letter-spacing: 0.42em;
    padding-right: 0.42em;
}
.brand-line-2 {
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 0.42em;
    padding-right: 0.42em;
    margin-top: 0.2rem;
}
.site-header.over-image .brand,
.site-header.over-image .nav-links a { color: var(--c-white); }

.nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    align-items: center;
    gap: 1rem;
    padding-top: 0.6rem;
}
.nav-links a {
    font-family: var(--font-nav);
    font-size: 1.2rem;
    font-weight: 300;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.4rem 0.6rem;
}
.nav-links a::after {
    content: "";
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><polyline points='10,18 18,18 18,10'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><polyline points='10,18 18,18 18,10'/></svg>") no-repeat center / contain;
    transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--c-olive); }
.site-header.over-image .nav-links a:hover { color: var(--c-stone-100); }
.nav-links a:hover::after { transform: translate(2px, 2px); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: inherit;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    height: 1px;
    background: currentColor;
}
.site-header.over-image .menu-toggle { color: var(--c-white); }

/* ============ Home — top tagline ============ */
.top-tagline {
    padding: clamp(8rem, 14vw, 12rem) var(--pad) clamp(1rem, 2vw, 2rem);
    max-width: var(--max);
    margin: 0 auto;
}
.top-tagline h1 {
    font-family: var(--font-display);
    font-weight: 100;
    font-size: clamp(2.5rem, 6.6vw, 5.6rem);
    line-height: 1;
    color: var(--c-black);
    text-align: left;
    margin-left: clamp(0px, 2vw, 2rem);
    max-width: 60%;
}

/* Home hero — image full-bleed RIGHT to viewport edge */
.home-hero {
    position: relative;
    margin-top: 1rem;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.home-hero-image {
    width: 75%;
    margin-left: auto;
    margin-right: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.home-cta {
    position: absolute;
    left: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-nav);
    font-size: 1rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: var(--c-black);
}
.home-cta::after {
    content: '»';
    font-size: 1.25em;
    color: var(--c-olive);
    transition: transform 0.3s ease;
}
.home-cta:hover { color: var(--c-olive); }
.home-cta:hover::after { transform: translateX(3px); }

/* Cinzel band */
.cinzel-band {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
}
.cinzel-band-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.cinzel-band-card {
    position: absolute;
    top: 8%;
    right: 5%;
    width: 45%;
    height: 84%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}
.cinzel-band-card h2 {
    font-family: var(--font-body-serif);
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    line-height: 1.2;
    color: var(--c-black);
    text-align: center;
}

@media (max-width: 880px) {
    .home-hero-image { width: 100%; aspect-ratio: 4/5; }
    .home-cta { position: static; transform: none; display: block; text-align: center; margin: 2rem auto; padding: 1rem; }
    .cinzel-band { aspect-ratio: 4/5; }
    .cinzel-band-card { width: 90%; right: 5%; left: 5%; top: auto; bottom: 5%; height: auto; }
    .top-tagline h1 { max-width: 100%; }
}

/* ============ Interior page heroes ============ */
.hero-fullbleed {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 520px;
    overflow: hidden;
}
.hero-fullbleed img { width: 100%; height: 100%; object-fit: cover; }

.hero-blended {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 520px;
    overflow: hidden;
    background: var(--c-cream);
}
.hero-blended img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-blended img.layer-overlay {
    mix-blend-mode: multiply;
    opacity: 0.85;
    object-position: center 40%;
}

/* ============ White content section ============ */
.white-section {
    background: var(--c-white);
    padding: clamp(3rem, 6vw, 5rem) var(--pad);
}
.white-section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section-headline {
    font-family: var(--font-display);
    font-weight: 100;
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    line-height: 1;
    color: var(--c-black);
}
.section-headline.on-dark { color: var(--c-white); }

.cinzel-body {
    font-family: var(--font-body-serif);
    font-weight: 400;
    font-size: clamp(1.05rem, 1.4vw, 1.4rem);
    line-height: 1.55;
    color: var(--c-black);
    margin-bottom: 1.5rem;
    max-width: 70ch;
}
.cinzel-body.on-dark { color: var(--c-white); }

.body-stack { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ============ Olive band with torn edges ============ */
.olive-band {
    position: relative;
    background: var(--c-olive);
    padding: clamp(4rem, 7vw, 6rem) var(--pad) clamp(4rem, 7vw, 6rem);
    color: var(--c-white);
    margin-top: 70px;
}

.olive-band::before,
.olive-band::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 70px;
    background: var(--c-olive);
    z-index: 1;
    pointer-events: none;
}
.olive-band::before {
    top: -68px;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'><path d='M0,70 L0,55 C8,52 16,58 28,50 C40,42 52,55 65,48 C78,40 92,52 105,46 C120,38 138,52 152,50 C170,46 188,38 205,44 C222,50 240,55 258,46 C275,38 295,52 315,48 C334,42 355,52 378,48 C402,44 425,38 448,46 C472,52 495,40 518,46 C540,52 565,58 590,50 C612,42 638,52 660,48 C685,42 710,55 735,50 C760,46 785,40 810,48 C835,52 858,58 882,52 C908,46 935,40 960,46 C985,52 1010,55 1035,50 C1060,42 1085,38 1110,46 C1135,52 1160,55 1182,50 C1208,42 1235,52 1260,48 C1285,42 1310,38 1338,46 C1365,55 1395,55 1420,52 L1440,55 L1440,70 Z' fill='black'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'><path d='M0,70 L0,55 C8,52 16,58 28,50 C40,42 52,55 65,48 C78,40 92,52 105,46 C120,38 138,52 152,50 C170,46 188,38 205,44 C222,50 240,55 258,46 C275,38 295,52 315,48 C334,42 355,52 378,48 C402,44 425,38 448,46 C472,52 495,40 518,46 C540,52 565,58 590,50 C612,42 638,52 660,48 C685,42 710,55 735,50 C760,46 785,40 810,48 C835,52 858,58 882,52 C908,46 935,40 960,46 C985,52 1010,55 1035,50 C1060,42 1085,38 1110,46 C1135,52 1160,55 1182,50 C1208,42 1235,52 1260,48 C1285,42 1310,38 1338,46 C1365,55 1395,55 1420,52 L1440,55 L1440,70 Z' fill='black'/></svg>");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.olive-band::after {
    bottom: -68px;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'><path d='M0,0 L0,15 C12,18 28,12 40,20 C55,28 68,15 82,18 C100,22 115,8 130,15 C148,22 165,30 182,22 C200,15 218,28 235,22 C252,15 268,8 285,18 C302,28 320,15 340,22 C358,28 376,38 395,30 C415,22 432,12 452,20 C475,30 495,18 518,22 C540,26 562,38 588,28 C612,18 634,12 658,18 C682,24 705,32 730,24 C755,16 780,12 805,22 C830,32 858,38 882,28 C908,18 933,12 960,22 C988,32 1015,28 1042,18 C1068,8 1095,18 1122,28 C1148,36 1175,22 1200,18 C1225,12 1250,28 1278,22 C1305,15 1332,8 1360,16 C1390,26 1415,30 1438,22 L1440,18 L1440,0 Z' fill='black'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'><path d='M0,0 L0,15 C12,18 28,12 40,20 C55,28 68,15 82,18 C100,22 115,8 130,15 C148,22 165,30 182,22 C200,15 218,28 235,22 C252,15 268,8 285,18 C302,28 320,15 340,22 C358,28 376,38 395,30 C415,22 432,12 452,20 C475,30 495,18 518,22 C540,26 562,38 588,28 C612,18 634,12 658,18 C682,24 705,32 730,24 C755,16 780,12 805,22 C830,32 858,38 882,28 C908,18 933,12 960,22 C988,32 1015,28 1042,18 C1068,8 1095,18 1122,28 C1148,36 1175,22 1200,18 C1225,12 1250,28 1278,22 C1305,15 1332,8 1360,16 C1390,26 1415,30 1438,22 L1440,18 L1440,0 Z' fill='black'/></svg>");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

.olive-band-inner {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.arrow-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    color: var(--c-white);
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 L17 7 M9 7 L17 7 L17 15' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 17 L17 7 M9 7 L17 7 L17 15' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
    margin-bottom: 1.5rem;
}

.olive-band .pullquote {
    font-family: var(--font-body-serif);
    font-weight: 400;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.4;
    color: var(--c-white);
    margin-top: 2rem;
    max-width: 60ch;
}

/* ============ Cream services section ============ */
.cream-section {
    background: var(--c-cream);
    padding: clamp(4rem, 7vw, 6rem) var(--pad);
}
.cream-section-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.cream-section h1 {
    font-family: var(--font-display);
    font-weight: 100;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1;
    color: var(--c-black);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem);
}
.services-list li {
    display: grid;
    grid-template-columns: 1.2em 1fr;
    gap: 0.6rem;
    align-items: start;
}
.services-list li::before {
    content: '•';
    font-size: 1.6em;
    line-height: 1;
    color: var(--c-black);
}

.service-name {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    color: var(--c-black);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    margin-bottom: 0.6rem;
    display: inline-block;
}
.service-desc {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.55;
    color: var(--c-black);
    max-width: 38ch;
}

@media (max-width: 880px) {
    .services-list { grid-template-columns: 1fr; }
}

/* ============ Contact form ============ */
.contact-form { max-width: 720px; margin-top: 2rem; }
.contact-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.75rem;
}
.contact-form .field { margin-bottom: 1.75rem; }
.contact-form label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--c-white);
    margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    color: var(--c-white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 300;
    transition: border-color 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--c-white);
    border-bottom-width: 2px;
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }

.btn-submit {
    margin-top: 1rem;
    padding: 0.8rem 2.4rem;
    font-family: var(--font-nav);
    font-size: 1rem;
    font-weight: 400;
    color: var(--c-olive);
    background: var(--c-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-submit:hover { background: var(--c-cream); }

@media (max-width: 880px) {
    .contact-form .row { grid-template-columns: 1fr; gap: 0; }
}

/* ============ Footer (white) ============ */
.site-footer {
    padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(2rem, 4vw, 3rem);
    background: var(--c-white);
    color: var(--c-black);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}
.site-footer .brand { margin-bottom: 1rem; }

.footer-brand p {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 320px;
}

.footer-col p,
.footer-col a {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    display: block;
}
.footer-col a:hover { color: var(--c-olive); }

.socials {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.4rem;
    row-gap: 0.4rem;
}
.socials a {
    font-family: var(--font-nav);
    font-size: 0.95rem;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}
.socials a::after {
    content: "";
    width: 0.85em;
    height: 0.85em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><polyline points='10,18 18,18 18,10'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><polyline points='10,18 18,18 18,10'/></svg>") no-repeat center / contain;
}

.copyright {
    max-width: var(--max);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-stone-300);
    font-weight: 300;
}

@media (max-width: 880px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* ============ Mobile menu ============ */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--c-olive);
    color: var(--c-white);
    z-index: 100;
    padding: 5rem var(--pad) 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu .close-btn {
    position: absolute;
    top: 1.75rem;
    right: var(--pad);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-white);
    width: 32px;
    height: 32px;
}
.mobile-menu .close-btn::before,
.mobile-menu .close-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--c-white);
}
.mobile-menu .close-btn::before { transform: rotate(45deg); }
.mobile-menu .close-btn::after  { transform: rotate(-45deg); }

.mobile-menu-list { list-style: none; margin-top: 3rem; }
.mobile-menu-list li { padding: 0.6rem 0; }
.mobile-menu-list a {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 7vw, 3.4rem);
    color: var(--c-white);
    line-height: 1.3;
}
.mobile-menu-list a:hover { color: var(--c-stone-100); }

.mobile-menu-foot {
    margin-top: auto;
    padding-top: 3rem;
    color: var(--c-stone-100);
    font-size: 1rem;
    line-height: 1.7;
}
.mobile-menu-foot a { color: var(--c-stone-100); }

@media (max-width: 880px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .site-header { grid-template-columns: 1fr auto; }
}
