/* Shared base: reset, utilities, reveal effects, Home dropdown, hamburger */
:root {
    --purple: #6f22a5;
    --deep: #3d145e;
    --magenta: #e40068;
    --pink: #f52b88;
    --ink: #17121b;
    --muted: #6d6671;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
ul {
    list-style: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
.container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    transition-delay: var(--d, 0s);
}
.reveal.left {
    transform: translateX(-40px);
}
.reveal.right {
    transform: translateX(40px);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay {
    --d: 0.12s;
}
.reveal-delay-2 {
    --d: 0.22s;
}
.d1 {
    --d: 0.1s;
}
.d2 {
    --d: 0.2s;
}
.d3 {
    --d: 0.3s;
}
.d4 {
    --d: 0.4s;
}
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1);
}
.img-reveal.visible {
    clip-path: inset(0);
}
.zoom {
    overflow: hidden;
}
.zoom img {
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.zoom:hover img {
    transform: scale(1.07);
}
.ul-link {
    position: relative;
}
.ul-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1.5px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
}
.ul-link:hover:after {
    transform: scaleX(1);
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.has-dd {
    position: relative;
}
.dd-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}
.dd-btn:after {
    content: "";
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s;
}
.has-dd.open .dd-btn:after {
    transform: rotate(225deg) translate(-2px, -1px);
}
.dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: -14px;
    min-width: 170px;
    padding: 10px;
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(30, 10, 40, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.25s;
    z-index: 30;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
}
.dd-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 9px;
    white-space: nowrap;
}
.dd-menu a:hover,
.dd-menu a.current {
    background: #f6ecfb;
    color: var(--purple);
}
.has-dd.open .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
@media (hover: hover) {
    .has-dd:hover .dd-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .has-dd:hover .dd-btn:after {
        transform: rotate(225deg) translate(-2px, -1px);
    }
}
.form-note {
    font-size: 12px;
    min-height: 18px;
    margin-top: 10px;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal,
    .img-reveal {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
    }
    * {
        animation: none !important;
    }
}

/* HOME & ME brand wordmark (text logo until the official logo file is supplied) */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-text strong {
    font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.04em;
    color: var(--deep, #3d145e);
}
.brand-text small {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--magenta, #e40068);
    margin-top: 4px;
}
.footer .brand-text strong {
    color: #fff;
}
.footer .brand-text small {
    color: #f6a6cb;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.foot-tag {
    font-size: 12px;
    color: #c9c1cb;
}
/* manufacturing capability list */
.cap-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    margin: 20px 0 30px;
    font-weight: 600;
}
.cap-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cap-list li:before {
    content: "✓";
    color: #ff7ab8;
    font-weight: 800;
}
/* contact bits */
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}
.btn.wa {
    background: #fff;
    color: #128c4a;
    box-shadow: inset 0 0 0 1.5px #25d366;
}
.btn.wa:hover {
    background: #25d366;
    color: #fff;
}
.trust-row a,
.hero-mini a,
.address-card a,
.info a {
    overflow-wrap: anywhere;
}
.address-card + .address-card {
    margin-top: 14px;
}
.highlight-grid.why-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
    .highlight-grid.why-4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 720px) {
    .highlight-grid.why-4 {
        grid-template-columns: 1fr;
    }
    .cap-list {
        grid-template-columns: 1fr;
    }
}

/* Logo: put the file at assets/logo/homeandme-logo.png - the text wordmark shows only if the file is missing */
.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
}
/* .brand-logo{height:54px;width:auto;max-width:220px;object-fit:contain} */
.brand-logo-wrap .fallback {
    display: none;
}
.brand-logo-wrap.no-logo .fallback {
    display: flex;
}
.footer .brand-logo {
    /* height: 64px; */
    background: #fff;
    border-radius: 14px;
    padding: 6px 10px;
}
@media (max-width: 720px) {
    /* .brand-logo {
        height: 44px;
    } */
}
