/* Hallmark · redesign: brand-led polish · 3Sixty Ace */
/* Critique: keep the warm-on-dark identity, give faces room, and make the project process visible. */
:root {
    --ace-bg: #03060a;
    --ace-surface: #10151c;
    --ace-edge: #30363f;
    --ace-ink: #f7f6f3;
    --ace-muted: #bfc4cb;
    --ace-accent: #ff7945;
    --ace-accent-dark: #6a301d;
    --ace-pale: #242d39;
    --ace-light: #fff7f0;
    --ace-font: "Figtree", Arial, sans-serif;
    --ace-display: var(--ace-font);
    --ace-copy: var(--ace-font);
}

html, body { overflow-x: clip; background-color: var(--ace-bg); }
html { color-scheme: dark; }
.procus-cursor, .procus-cursor2 { display: none !important; }
.marquee-text.ace-motion-idle { animation-play-state: paused !important; }
body :focus-visible, body button.hamburger_menu:focus-visible {
    outline: 2px solid var(--ace-accent) !important;
    outline-offset: 4px;
}
img[src=""] { display: none; }
#preloader, .e-page-transition { display: none !important; }
@view-transition { navigation: none; }

.ace-wrap { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }
.ace-section { padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--ace-bg); color: var(--ace-ink); }
.ace-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.ace-section h2 {
    max-width: 19ch;
    min-width: 0;
    margin: 0;
    color: var(--ace-ink);
    font: 700 clamp(2rem, 4.4vw, 4.2rem)/1.03 var(--ace-display);
    letter-spacing: -.055em;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.ace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ace-work-card, .ace-capability { min-width: 0; border: 1px solid var(--ace-edge); background: var(--ace-surface); color: var(--ace-ink); }
.ace-work-card { border-radius: 1rem; overflow: clip; scroll-margin-top: 7rem; }
.ace-work-media {
    display: grid;
    place-items: center;
    aspect-ratio: 2.35;
    padding: 1.75rem;
    background: radial-gradient(ellipse at 15% 100%, var(--ace-accent-dark), var(--ace-pale) 68%);
}
.ace-work-media img { width: min(100%, 11rem); height: 4.75rem; object-fit: contain; }
.ace-work-copy, .ace-capability { padding: clamp(1.15rem, 3vw, 1.8rem); }
.ace-capability { border-radius: 1rem; border-block-start: 2px solid var(--ace-accent-dark); scroll-margin-top: 7rem; }
.ace-work-copy h3, .ace-capability h3 {
    margin: 0 0 .65rem;
    color: var(--ace-ink);
    font: 700 clamp(1.25rem, 2vw, 1.7rem)/1.15 var(--ace-display);
}
.ace-work-copy h3 a { color: inherit; }
.ace-work-copy h3 a:hover { color: var(--ace-accent); }
.ace-section p { margin: 0; color: var(--ace-muted); font: 400 1rem/1.62 var(--ace-copy); }
.ace-work-copy .ace-work-service { margin-bottom: .55rem; color: var(--ace-accent); font-weight: 600; }
.ace-work-copy .ace-project-link { margin-top: .8rem; }
.ace-text-link { color: var(--ace-accent); font: 650 1rem/1.35 var(--ace-copy); text-decoration: underline; text-underline-offset: .3em; }
.ace-text-link:hover { color: var(--ace-light); }
.ace-text-link:active, .ace-motion-toggle:active { opacity: .8; }
.ace-section .ace-section-action { margin-top: 1.65rem; }
.ace-about { border-bottom: 1px solid var(--ace-edge); }
.ace-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: 2rem 4rem; }
.ace-about-grid p { margin-bottom: 1rem; font-size: clamp(1rem, 1.5vw, 1.2rem); }

.ace-team {
    background: radial-gradient(ellipse at 14% 0, var(--ace-surface), var(--ace-bg) 65%);
    border-block: 1px solid var(--ace-edge);
    scroll-margin-top: 6rem;
}
.ace-team .ace-section-head > p, .ace-approach .ace-section-head > p { max-width: 45ch; }
.ace-team-grid, .ace-approach-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.75rem);
}
.ace-team-member { display: flex; flex-direction: column; min-width: 0; }
.ace-team-portrait {
    aspect-ratio: 4 / 5;
    overflow: clip;
    background: var(--ace-surface);
    border: 1px solid var(--ace-edge);
    border-radius: .75rem;
}
.ace-team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.ace-team-caption { flex: 1; padding-block: 1.25rem; border-bottom: 1px solid var(--ace-edge); }
.ace-team-caption h3, .ace-approach-steps h3 {
    color: var(--ace-ink);
    font: 700 clamp(1.35rem, 2.2vw, 2rem)/1.1 var(--ace-display);
    margin: 0 0 .45rem;
    overflow-wrap: break-word;
}
.ace-team-caption a { display: inline-block; margin-top: .75rem; }
.ace-team-caption p + p { margin-top: .65rem; }
.ace-approach-steps { margin: 0; padding: 0; list-style: none; }
.ace-approach-steps li, .ace-engagement { border-top: 1px solid var(--ace-edge); }
.ace-approach-steps li { padding-top: 1.15rem; }
.ace-engagement { background: var(--ace-surface); }

@media (max-width: 640px) {
    .ace-team-grid, .ace-approach-steps { grid-template-columns: minmax(0, 1fr); }
    .ace-team-portrait { max-width: 25rem; }
}

.hero4-section-area .hero-header-area .ace-hero-title {
    position: relative;
    z-index: 1;
    max-width: 18ch;
    margin: .2em auto;
    font-size: clamp(2.65rem, 6.5vw, 6.5rem);
    letter-spacing: -.055em;
    line-height: .98;
    overflow-wrap: break-word;
}
.hero4-section-area .ace-hero-summary {
    position: relative;
    z-index: 1;
    max-width: 38ch;
    margin: 1.2rem auto .75rem;
    color: var(--ace-ink);
    font: 400 clamp(1rem, 2vw, 1.25rem)/1.55 var(--ace-copy);
}
.hero4-section-area .btn-area1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .75rem 1.5rem;
}
.ace-hero-details { position: absolute; inset: 0; pointer-events: none; }
.ace-hero-details .others-img1 { position: absolute; left: 3%; bottom: 3%; width: clamp(55px, 10vw, 110px); }
.ace-hero-details .elements1 { position: absolute; right: 6%; top: 37%; width: clamp(32px, 6vw, 70px); }
.hero4-section-area { overflow: clip; isolation: isolate; }
.elementor-element-8f75789 { position: relative; z-index: 2; }
.ace-benefit h3 {
    margin-bottom: .55rem;
    color: var(--ace-ink);
    font: 700 clamp(1.25rem, 2.4vw, 1.8rem)/1.1 var(--ace-display);
}
.ace-benefit p { color: var(--ace-muted); }
.team-author-boxarea .img1 {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    min-height: 0;
    overflow: clip;
    border-radius: 1rem;
    background: var(--ace-surface);
}
.team-author-boxarea .img1 img, .team4-section-area .team-author-boxarea .img1 img {
    width: 100%; height: 100%; max-height: 29rem; object-fit: contain; object-position: center bottom;
}
.team-author-boxarea .img1 .ace-team-photo { object-fit: cover; object-position: center 25%; }
.ace-team-initials, .ace-quote-initials {
    display: grid;
    place-items: center;
    border: 1px solid var(--ace-edge);
    color: var(--ace-accent);
    background: var(--ace-surface);
    border-radius: 50%;
    font: 700 1rem/1 var(--ace-display);
}
.ace-team-initials { width: 6rem; height: 6rem; font-size: 2rem; }
.ace-quote-initials { width: 3.25rem; height: 3.25rem; }
.testimonials-2 .testimonial-boxarea { border: 1px solid var(--ace-edge); border-radius: 1rem; }
.testimonials-2 .testimonial-boxarea p { line-height: 1.55; }
.testimonials-2 .map-testimonial { pointer-events: none; }
.testimonials-2 .swiper { position: relative; z-index: 2; }
.vl-blog-meta a { background-color: var(--ace-bg); color: var(--ace-light); }
a[href*="/author/3sixtyace/"] {
    background: var(--ace-bg) !important;
    color: var(--ace-light) !important;
    padding: .15em .35em;
    border-radius: .25rem;
    text-shadow: none;
}
body a.cta-btn1 { white-space: nowrap; }
body :is(.vl-btn3, .vl-btn1):not(.ace-text-link) { color: var(--ace-bg); }
body :is(input, textarea).wpcf7-form-control:not([type="hidden"]):not([type="submit"]) { border: 1px solid var(--ace-muted); }
.ace-motion-toggle {
    display: block;
    margin: 0 0 1rem auto;
    border: 1px solid var(--ace-edge);
    border-radius: 3rem;
    padding: .55rem .9rem;
    background: var(--ace-surface);
    color: var(--ace-ink);
    font: 600 .875rem/1.2 var(--ace-copy);
}
.ace-motion-toggle[hidden] { display: none; }
.testimonials-2 .swiper-button-next:focus-visible, .testimonials-2 .swiper-button-prev:focus-visible { outline-color: var(--ace-accent); }

@media (max-width: 900px) {
    .ace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ace-about-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 580px) {
    .ace-grid { grid-template-columns: minmax(0, 1fr); }
    .ace-hero-details .others-img1 { display: none; }
    body :is(.vl-btn3, .vl-btn1, .cta-btn1) { white-space: nowrap; font-size: clamp(.75rem, 3.4vw, 1rem); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body :is([class*="keyframe"], [class*="aniamtion-key"], .marquee-text, .text-anime-style-3, .text-anime-style-3 *) {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
    body :is(.text-anime-style-3, .text-anime-style-3 *) { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}
:root{--ace-button-fill:#ff7945;--ace-button-text:#16100c}
.ace-action{display:inline-flex;align-items:center;justify-content:center;margin-top:.7rem;padding:.55rem .95rem;min-height:42px;border:1px solid var(--ace-button-fill);border-radius:8px;background:var(--ace-button-fill);color:var(--ace-button-text);font-family:inherit;font-size:.95rem;font-weight:700;line-height:1.25;text-decoration:none;transition:transform .17s ease,filter .17s ease}
.ace-action:hover{color:var(--ace-button-text);transform:translateY(-2px);filter:brightness(1.07)}
.ace-action:focus-visible{outline:2px solid var(--ace-button-fill);outline-offset:3px}
.ace-detail{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:clamp(24px,5vw,65px)}
.ace-detail h2,.ace-detail p{margin-bottom:12px}
.ace-detail aside nav{display:grid;gap:8px;margin-bottom:15px}
.ace-detail aside nav a{padding:8px 0;color:inherit;border-bottom:1px solid currentColor}
.ace-detail aside nav a[aria-current=page]{color:var(--ace-button-fill)}
.ace-cms-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:14px}
.ace-detail input{display:block;width:min(100%,420px);padding:.7rem;margin-block:.5rem}
.ace-home-services .nav{flex-wrap:wrap;gap:.5rem}
.ace-home-services .nav-link{border:1px solid var(--ace-edge);padding:.8rem .95rem;border-radius:8px;color:var(--ace-ink);background:var(--ace-surface)}
.ace-home-services .nav-link.active{color:var(--ace-button-text);background:var(--ace-button-fill)}
.ace-home-service{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));align-items:center;gap:1.6rem;padding:1.5rem;border:1px solid var(--ace-edge);border-radius:14px;background:var(--ace-surface);margin-top:1rem}
.ace-home-service h3{margin-bottom:.6rem}
body :is(.vl-btn1,.vl-btn3,.cta-btn1){transition:transform .17s ease,filter .17s ease}
body :is(.vl-btn1,.vl-btn3,.cta-btn1):hover{transform:translateY(-2px);filter:brightness(1.07)}
@media(prefers-reduced-motion:reduce){body :is(.vl-btn1,.vl-btn3,.cta-btn1){transition:none}body :is(.vl-btn1,.vl-btn3,.cta-btn1):hover{transform:none}}
@media(max-width:720px){.ace-detail{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.ace-action{transition:none}.ace-action:hover{transform:none}}
