/* Siraj Paints homepage. Brand plum comes from the existing identity (#570347). */

:root {
    --plum: #570347;
    --plum-deep: #3d0232;
    --mauve: #8b5a96;
    --cream: #f6f1ec;
    --paper: #fffcfa;
    --ink: #24161f;
    --muted: #5c4d55;
    --line: #eadfe4;
    --blush: #f4e8ee;
    --header: 4.5rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 5.25rem; }

body.home {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
}

body.is-locked { overflow: hidden; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: 0;
    z-index: 80;
    transform: translateY(-120%);
    border-radius: 0 0 0.75rem 0.75rem;
    background: var(--plum);
    color: #fff;
    padding: 0.6rem 1rem;
    font-weight: 600;
}

.skip-link:focus { transform: none; }

:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
}

.topbar :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
    outline-color: #fff;
}

.wrap {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

@media (min-width: 768px) {
    .wrap { width: min(1180px, calc(100% - 3rem)); }
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--plum);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.section-head h2,
.hero h1,
.about-copy h2,
.cta-band h2 {
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.lede {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

main section[id] { scroll-margin-top: 5.25rem; }

.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }

/* Header */

.topbar,
.site-header,
.drawer {
    font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
}

.topbar {
    background: var(--plum);
    color: #f8eef4;
    font-size: 0.82rem;
}

.topbar-inner,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar-inner { min-height: 2.4rem; }

.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar-group,
.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.topbar-group span,
.topbar-group a { display: inline-flex; align-items: center; gap: 0.4rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 252, 250, 0.94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(36, 22, 31, 0.45);
}

.header-inner { min-height: var(--header); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}

.brand svg { width: 2.5rem; height: 2.5rem; flex: none; }

.brand-name {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand-sub {
    display: block;
    margin-top: 0.15rem;
    color: var(--plum);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-desktop { display: none; align-items: center; gap: 0.15rem; }

.nav-link,
.nav-drop > button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 560;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
}

.nav-link:hover,
.nav-drop > button:hover,
.nav-link[aria-current="page"],
.nav-drop > button[aria-current="page"] {
    background: var(--blush);
    color: var(--plum);
}

.nav-drop { position: relative; }

.nav-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-drop > button svg { width: 0.85rem; height: 0.85rem; }

.nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 17.5rem;
    padding-top: 0.55rem;
}

.nav-panel[hidden] { display: none; }

.nav-panel-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    box-shadow: 0 22px 50px -28px rgba(36, 22, 31, 0.45);
    padding: 0.55rem;
}

.nav-panel a {
    display: block;
    border-radius: 0.75rem;
    color: var(--ink);
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    font-size: 0.92rem;
}

.nav-panel a small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] { background: var(--cream); color: var(--plum); }

.nav-portal > button .fa-user {
    color: var(--plum);
    font-size: 0.78rem;
}

.nav-portal .nav-panel {
    left: auto;
    right: 0;
    z-index: 40;
    min-width: 20.5rem;
}

.nav-portal > button svg { transition: transform 0.18s ease; }

.nav-portal > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-panel a.nav-portal-link,
.acc-panel a.nav-portal-link {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.7rem;
    text-align: left;
}

.nav-portal-link > i {
    flex: none;
    width: 1.1rem;
    margin-top: 0.2rem;
    color: var(--plum);
    font-size: 0.85rem;
    text-align: center;
}

.nav-portal-link > span { min-width: 0; }

.acc-panel a small {
    display: block;
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

.nav-portal-acc > button > span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.nav-portal-acc > button > span .fa-user {
    color: var(--plum);
    font-size: 0.85rem;
}

.nav-portal-acc > button .fa-chevron-down { transition: transform 0.18s ease; }

.nav-portal-acc > button[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

@media (prefers-reduced-motion: no-preference) {
    .nav-portal .nav-panel:not([hidden]) .nav-panel-card,
    .nav-portal-acc .acc-panel:not([hidden]) {
        animation: portal-in 0.18s ease;
    }
}

@keyframes portal-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 1100px) and (max-width: 1280px) {
    .nav-link,
    .nav-drop > button {
        padding-inline: 0.5rem;
        font-size: 0.88rem;
    }
}

.header-cta { display: none; }
.nav-toggle { display: inline-flex; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 650;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); }

.btn-line {
    background: transparent;
    border-color: var(--plum);
    color: var(--plum);
}

.btn-line:hover { background: var(--plum); color: #fff; }

.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--cream); }

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-ghost:hover { background: #fff; color: var(--plum); }

.nav-toggle,
.icon-link {
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--plum);
    text-decoration: none;
    cursor: pointer;
}

.icon-link { display: inline-flex; }

.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(36, 22, 31, 0.46);
}

.drawer-backdrop[hidden],
.drawer[hidden] { display: none; }

.drawer {
    position: fixed;
    z-index: 70;
    top: 0;
    right: 0;
    height: 100%;
    width: min(22rem, 100%);
    background: #fff;
    box-shadow: -20px 0 50px rgba(36, 22, 31, 0.18);
    display: flex;
    flex-direction: column;
}

.drawer-head,
.acc > button,
.drawer-links a,
.acc-panel a {
    display: flex;
    align-items: center;
}

.drawer-head {
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
}

.drawer-head strong {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.25rem;
}

.drawer-body { overflow: auto; padding: 0.5rem 0.75rem 1.5rem; }

.drawer-links a,
.acc > button {
    width: 100%;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    text-align: left;
    border-radius: 0.8rem;
    padding: 0.9rem 0.75rem;
    cursor: pointer;
}

.drawer-links a:hover,
.acc > button:hover,
.drawer-links > a[aria-current="page"],
.acc > button[aria-current="page"] { background: var(--cream); color: var(--plum); }

.acc-panel { padding: 0 0.4rem 0.4rem 0.85rem; }
.acc-panel[hidden] { display: none; }

.acc-panel a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    font-weight: 550;
}

.acc-panel a:hover,
.acc-panel a[aria-current="page"] { background: var(--blush); color: var(--plum); }

.drawer-links a.btn {
    justify-content: center;
    margin: 0.9rem 0.35rem 0;
    width: calc(100% - 0.7rem);
    background: var(--plum);
    color: #fff;
}

.drawer-links a.btn:hover { background: var(--plum-deep); color: #fff; }

@media (min-width: 1100px) {
    .nav-desktop { display: flex; }
    .header-cta { display: inline-flex; }
    .nav-toggle,
    .icon-link,
    .drawer,
    .drawer-backdrop { display: none !important; }
}

@media (max-width: 639px) {
    .topbar-hours,
    .topbar-mail { display: none; }
}

/* Hero */

.hero { padding: 1.25rem 0 1rem; }

.parallax-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 88vh, 46rem);
    padding: 4.25rem 0 3.5rem;
    color: #fff;
}

.parallax-layer {
    position: absolute;
    inset: -18% 0;
    z-index: 0;
    pointer-events: none;
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.parallax-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(36, 22, 31, 0.78) 0%, rgba(61, 2, 50, 0.58) 46%, rgba(36, 22, 31, 0.28) 100%);
}

.hero-foreground {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.5rem;
    align-items: end;
}

.parallax-hero h1,
.parallax-hero .hero-copy p,
.parallax-hero .hero-note,
.parallax-hero .hero-note strong { color: #fff; }

.parallax-hero .eyebrow { color: #f0d3e6; }

.parallax-hero .hero-copy p { color: rgba(255, 255, 255, 0.92); }

.parallax-hero .btn-line {
    border-color: #fff;
    color: #fff;
}

.parallax-hero .btn-line:hover { background: #fff; color: var(--plum); }

.parallax-hero .hero-float {
    position: relative;
    left: auto;
    bottom: auto;
    justify-self: start;
}

.parallax-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.parallax-band > .wrap { position: relative; z-index: 1; }

.parallax-layer-soft { opacity: 0.16; }

.cta-band.parallax-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(61, 2, 50, 0.78);
}

.cta-band .parallax-layer { opacity: 0.45; }

.hero-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    max-width: 12ch;
}

.hero-copy p {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 1.35rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-note strong { color: var(--ink); font-weight: 650; }

.hero-media {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    background: var(--blush);
    aspect-ratio: 4 / 3;
    box-shadow: 0 30px 60px -36px rgba(87, 3, 71, 0.55);
}

.hero-media img,
.card-media img,
.about-media img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-float {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100% - 2rem);
    padding: 0.7rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 252, 250, 0.94);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 12px 30px -18px rgba(36, 22, 31, 0.6);
}

.hero-float:hover { color: var(--plum); }

.dots { display: flex; }
.dots i {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -0.28rem;
    display: block;
}
.dots i:first-child { margin-left: 0; }

.hero-float small { display: block; color: var(--muted); }

@media (max-width: 767px) {
    .hero-media { order: -1; aspect-ratio: 16 / 11; }
    .parallax-hero { min-height: 0; padding: 3.25rem 0 2.75rem; }
    .parallax-hero::before {
        background: linear-gradient(180deg, rgba(36, 22, 31, 0.5) 0%, rgba(36, 22, 31, 0.8) 70%);
    }
    .parallax-layer { inset: 0; transform: none !important; }
}

@media (min-width: 800px) {
    .hero-foreground { grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.55fr); }
    .parallax-hero .hero-float { justify-self: end; }
}

@media (min-width: 900px) {
    .hero:not(.parallax-hero) { padding-top: 2rem; }
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}

/* Cards */

.card-grid,
.product-grid,
.solution-grid,
.why-grid,
.branch-grid {
    display: grid;
    gap: 1.1rem;
}

.card,
.product,
.solution,
.why-item,
.branch,
.palette {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
}

.card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }

.card-media,
.solution-media,
.gallery-item {
    overflow: hidden;
    background: var(--blush);
}

.card-media { aspect-ratio: 3 / 2; }

.card-body,
.product-body,
.solution-body { padding: 1.15rem 1.2rem 1.25rem; }

.card h3,
.product h3,
.solution h3,
.why-item h3,
.palette h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.card p,
.product p,
.solution p,
.why-item p,
.branch p { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.6; }

.card-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
    color: var(--plum);
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover,
.text-link:hover { gap: 0.55rem; }

.card:hover img,
.product:hover img,
.gallery-item:hover img,
.solution:hover img,
.about-media:hover img,
.range-shot:hover img {
    transform: scale(1.045);
}

.card img,
.product img,
.gallery-item img,
.solution img,
.about-media img,
.range-shot img {
    transition: transform 0.45s ease;
}

@media (min-width: 700px) {
    .card-grid,
    .solution-grid { grid-template-columns: 1fr 1fr; }
    .product-grid,
    .why-grid,
    .branch-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid,
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .solution-grid { grid-template-columns: repeat(4, 1fr); }
    .branch-grid { grid-template-columns: repeat(4, 1fr); }
}

.product { overflow: hidden; display: flex; flex-direction: column; }
.product-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.card-media a,
.product-media a {
    display: block;
    height: 100%;
    color: inherit;
}

.card h3 a,
.product h3 a {
    color: inherit;
    text-decoration: none;
}

.card h3 a:hover,
.product h3 a:hover { color: var(--plum); }

.card-media:has(img.pack),
.product-media:has(img.pack),
.hero-media:has(img.pack),
.solution-media:has(img.pack) { background: #000; }

.card-media:has(img.pack-light),
.product-media:has(img.pack-light),
.hero-media:has(img.pack-light) { background: #efefef; }

.hero-media img.pack,
.hero-media img.pack-light,
.card-media img.pack,
.card-media img.pack-light,
.product-media img.pack,
.product-media img.pack-light,
.solution-media img.pack,
.solution-media img.pack-light {
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    padding: 0.7rem;
    background: transparent;
}

.range-shot {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.1rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 1.35rem;
}

.range-shot img {
    width: 5.75rem;
    height: 6.6rem;
    object-fit: contain;
    flex: none;
    background: #111;
}

.range-shot strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.range-shot em {
    display: block;
    margin-top: 0.25rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.5;
}

.brand-row a[aria-current="page"] {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}
.kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--plum);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.product .btn { margin-top: 1rem; align-self: flex-start; }

/* Colour */

.palette-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.palette-tabs button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    border-radius: 999px;
    min-height: 2.75rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
}

.palette-tabs button[aria-selected="true"] {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}

.palette { padding: 1.1rem; }

.palettes.is-ready .palette { display: none; }
.palettes.is-ready .palette.is-active { display: block; }

.swatches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.swatch {
    display: block;
    text-decoration: none;
    color: var(--ink);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
}

.swatch-chip { display: block; height: 4.5rem; }
.swatch span:last-child,
.swatch-meta { display: block; padding: 0.7rem 0.8rem 0.85rem; }
.swatch strong { display: block; font-size: 0.95rem; }
.swatch em { display: block; margin-top: 0.15rem; color: var(--muted); font-style: normal; font-size: 0.8rem; }
.swatch:hover { border-color: var(--mauve); }

.palette-foot { margin-top: 1rem; }

@media (min-width: 800px) {
    .swatches { grid-template-columns: repeat(4, 1fr); }
}

/* About + solutions */

.about-grid,
.cta-grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.about-media {
    border-radius: 1.6rem;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--blush);
    box-shadow: 0 24px 50px -34px rgba(87, 3, 71, 0.5);
}

.checklist { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.checklist li {
    position: relative;
    padding-left: 1.6rem;
    margin: 0.55rem 0;
    color: var(--ink);
    line-height: 1.5;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--plum);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--plum);
}

.solution { overflow: hidden; display: flex; flex-direction: column; }
.solution-media { aspect-ratio: 4 / 3; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
    .about-grid { grid-template-columns: 0.92fr 1.08fr; gap: 3rem; }
    .cta-grid { grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
}

/* Gallery */

.gallery {
    display: grid;
    gap: 0.8rem;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 1.2rem;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
    color: #fff;
    text-decoration: none;
}

.gallery-item figcaption,
.gallery-item span {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 1;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(36, 22, 31, 0.72), rgba(36, 22, 31, 0.05) 55%);
}

.gallery-item strong { display: block; font-size: 1.05rem; }
.gallery-item em { font-style: normal; opacity: 0.9; font-size: 0.85rem; }

@media (min-width: 700px) {
    .gallery { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .gallery { grid-template-columns: 1.3fr 1fr 1fr; }
    .gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
}

/* Why + brands */

.why-item { padding: 1.2rem; background: #fff; }
.why-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--blush);
    color: var(--plum);
    margin-bottom: 0.8rem;
}

.brand-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.brand-row a {
    text-decoration: none;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 650;
}

.brand-row a:hover { border-color: var(--plum); color: var(--plum); }

/* Contact band */

.cta-band {
    background: var(--plum);
    color: #fff;
    padding: 4.5rem 0;
}

.cta-band .eyebrow { color: #f0d3e6; }
.cta-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 14ch; }
.cta-band .lede { color: rgba(255, 255, 255, 0.86); }

.contact-list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.contact-list a,
.contact-list strong { display: block; color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; }

.branch {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    display: block;
}

.branch strong { display: block; }
.branch span { display: block; margin-top: 0.25rem; color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; }
.branch:hover { background: rgba(255, 255, 255, 0.16); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.branches { margin-top: 1.5rem; }

/* Footer */

.site-footer {
    background: #1c1018;
    color: #e7dbe2;
    padding: 3rem 0 1.25rem;
}

.footer-grid {
    display: grid;
    gap: 1.75rem;
}

.site-footer h2 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer p { margin: 0; line-height: 1.6; color: #cbbdc4; }
.site-footer a { color: #f3e7ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #e4c3d6; }

.legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b5a4ad;
    font-size: 0.82rem;
}

.legal a { color: #f0d5e4; }

@media (min-width: 800px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Motion. Content stays visible unless JS is active and the user allows motion. */

@media (prefers-reduced-motion: no-preference) {
    html.js .will-reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    html.js .will-reveal.is-in {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .parallax-layer { transform: none !important; }
    .card img,
    .gallery-item img,
    .solution img,
    .about-media img,
    .btn,
    .card-link { transition: none; }
    .card:hover img,
    .gallery-item:hover img,
    .solution:hover img,
    .about-media:hover img { transform: none; }
}

@media (max-width: 1099px) {
    .section { padding: 3.4rem 0; }
    .cta-band { padding: 3.4rem 0; }
}

/* Inner pages */

.page-hero { padding: 2rem 0 0.25rem; }

.page-hero h1 {
    margin: 0;
    max-width: 16ch;
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: clamp(2.15rem, 4.4vw, 3.6rem);
}

.crumb {
    margin: 0 0 0.8rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.crumb a { color: var(--plum); font-weight: 700; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.spec-list,
.check-list { margin: 0.9rem 0 0; padding: 0; list-style: none; }

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: 0.45rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.spec-list strong { color: var(--ink); font-weight: 650; }

.check-list li {
    position: relative;
    padding: 0.28rem 0 0.28rem 1.15rem;
    color: var(--ink);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--plum);
}

.card .btn,
.product .btn { margin-top: 1rem; align-self: flex-start; }

.price {
    margin: 0.35rem 0 0.2rem;
    color: var(--plum);
    font-family: Fraunces, Georgia, serif;
    font-size: 2.1rem;
    letter-spacing: -0.03em;
}

.price span { font-family: Outfit, sans-serif; font-size: 1rem; color: var(--muted); }

.steps { display: grid; gap: 0.8rem; }

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1rem 1.05rem;
}

.step b {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--plum);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }

.tabs button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    min-height: 2.6rem;
    padding: 0.3rem 0.95rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.tabs button[aria-selected="true"] {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}

.detail-panel[hidden] { display: none; }

@media (min-width: 700px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
    .steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
}

[hidden] { display: none !important; }
