/* Irisyo brand overlay — applied on top of theme main.min.css */
:root {
    --irisyo-brand: #0175C2;
    --irisyo-brand-dark: #025a96;
    --irisyo-ink: #0a0a0a;
    --irisyo-cream: #f8f7f4;
}

/* Primary CTA = brand blue */
.btn.btn--primary,
a.btn.btn--primary {
    background-color: var(--irisyo-brand) !important;
    border-color: var(--irisyo-brand) !important;
    color: #fff !important;
}
.btn.btn--primary:hover,
a.btn.btn--primary:hover {
    background-color: var(--irisyo-brand-dark) !important;
    border-color: var(--irisyo-brand-dark) !important;
}

/* Secondary CTA = outlined brand */
.btn.btn--secondary,
a.btn.btn--secondary {
    border-color: var(--irisyo-brand) !important;
    color: var(--irisyo-brand) !important;
}
.btn.btn--secondary:hover,
a.btn.btn--secondary:hover {
    background-color: var(--irisyo-brand) !important;
    color: #fff !important;
}

/* Sub-titles (eyebrows) get brand color */
.sub-title { color: var(--irisyo-brand) !important; letter-spacing: .08em !important; }
.sub-title i { color: var(--irisyo-brand) !important; }

/* Tighten nav + header tracking (theme defaults are too spaced) */
.navbar__menu ul li a,
.navbar__menu a {
    letter-spacing: 0 !important;
}
.navbar .btn,
.navbar__options .btn {
    letter-spacing: .04em !important;
}
.lang-switch { letter-spacing: .04em !important; }

/* Hero headline: tighter tracking, natural wrap, no overflow */
.banner h1 {
    letter-spacing: -0.015em !important;
    word-spacing: -0.04em !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.banner h1 .text-stroke {
    -webkit-text-stroke: 1.5px var(--irisyo-brand);
    color: transparent;
}
.banner h1 .interval {
    display: inline;
    white-space: normal;
}
.banner h1 .interval i {
    color: var(--irisyo-brand) !important;
    margin-right: .18em;
}

/* Scale hero type down a notch so phrases don't overflow */
@media (min-width: 1200px) {
    .banner h1 { font-size: clamp(3.5rem, 6.2vw, 6rem) !important; line-height: 1.05 !important; }
}

/* Section links / folks-text (email in footer) */
.folks-text { color: #fff !important; }
.folks-text:hover { color: var(--irisyo-brand) !important; }

/* Skill bars */
.skill-bar-percent { background: var(--irisyo-brand) !important; }

/* Lang switcher */
.lang-switch a { color: inherit; text-decoration: none; transition: opacity .15s; }
.lang-switch a:hover { opacity: 1 !important; color: var(--irisyo-brand); }

/* Header LinkedIn icon */
.nav-linkedin { color: inherit !important; text-decoration: none !important; }
.nav-linkedin:hover {
    background: var(--irisyo-brand);
    border-color: var(--irisyo-brand) !important;
    color: #fff !important;
}

/* Nav active link indicator (subtle) */
.navbar__menu a:hover { color: var(--irisyo-brand) !important; }

/* Brand icon decorative placement (formerly the template star) */
.brand-star {
    position: absolute;
    width: 96px;
    height: auto;
    opacity: .12;
    filter: invert(1);
    pointer-events: none;
}

/* Agency thumb area — branded panel */
.irisyo-thumb {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    background: linear-gradient(145deg, #0a0a0a 0%, #0d2b47 60%, var(--irisyo-brand) 110%);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(1,117,194,.18);
}
.irisyo-thumb__mark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56%;
    opacity: .95;
    filter: drop-shadow(0 8px 40px rgba(1,117,194,.4));
}
.irisyo-thumb__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.irisyo-thumb__tag {
    position: absolute;
    bottom: 24px; left: 24px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .7;
}

/* CTA band uses brand gradient */
.section.cta-two {
    background: linear-gradient(135deg, #0a0a0a 0%, #062f4f 100%) !important;
}

/* Page header also branded */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #062f4f 100%) !important;
}

/* ── Footer: force dark background + readable contrast ── */
footer.footer-two,
.footer-two {
    background: var(--irisyo-ink) !important;
    color: rgba(255, 255, 255, .78) !important;
}
.footer-two .paragraph p,
.footer-two p {
    color: rgba(255, 255, 255, .7) !important;
}
.footer-two .folks-text,
.footer-two .folks-text a,
.footer-two a.folks-text {
    color: #fff !important;
}
.footer-two .folks-text:hover,
.footer-two a.folks-text:hover {
    color: var(--irisyo-brand) !important;
}
.footer-two a {
    color: rgba(255, 255, 255, .82) !important;
}
.footer-two a:hover {
    color: var(--irisyo-brand) !important;
}
.footer-two .footer__single-meta i {
    color: var(--irisyo-brand) !important;
    margin-right: 8px;
}
.footer-two .footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    margin-top: 40px;
}
.footer-two .footer__copyright,
.footer-two .footer__copyright-text,
.footer-two .footer__copyright-text p {
    color: rgba(255, 255, 255, .55) !important;
}
.footer-two .footer__copyright ul li a {
    color: rgba(255, 255, 255, .7) !important;
}
.footer-two .footer__copyright ul li a:hover {
    color: var(--irisyo-brand) !important;
}
.footer-two .logo img {
    filter: brightness(1.1);
}

/* Ensure the CTA band title/body stay readable on the dark gradient */
.section.cta-two .title,
.section.cta-two h2 {
    color: #fff !important;
}
.section.cta-two p {
    color: rgba(255, 255, 255, .82) !important;
}

/* ── App-preview section: dark text on light gradient ── */
.section.app-preview { color: var(--irisyo-ink); }
.section.app-preview .title,
.section.app-preview h2,
.section.app-preview h3 {
    color: var(--irisyo-ink) !important;
}
.section.app-preview .paragraph p,
.section.app-preview p {
    color: rgba(10, 10, 10, .72) !important;
}
.section.app-preview .sub-title {
    color: var(--irisyo-brand) !important;
}

/* ── Offer list (home "What Irisyo does"): make item titles readable ── */
.offer__cta-single h2,
.offer__cta-single h2 a {
    color: #fff !important;
}
.offer__cta-single h2 a:hover {
    color: var(--irisyo-brand) !important;
}
.offer__cta-single .sub-title {
    color: var(--irisyo-brand) !important;
}

/* Product features: descriptions must sit statically under the title,
   NOT float as the theme's hover-thumb behaviour. */
.offer__cta-single p {
    position: static !important;
    transform: none !important;
    rotate: none !important;
    inset: auto !important;
    display: block !important;
    color: rgba(255, 255, 255, .7) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 12px 0 0 !important;
    max-width: 780px !important;
    text-align: left !important;
    opacity: 1 !important;
    pointer-events: none;
}
.offer__cta-single {
    padding-bottom: 36px !important;
}

/* Hero stat numbers in brand colour, not theme orange */
.banner .cta .single h5,
.banner__content-inner .cta .single h5 {
    color: var(--irisyo-brand) !important;
}

/* Clamp page-header h1 on /about, /product, /contact so it never overflows */
.page-header h1 {
    font-size: clamp(2.25rem, 4.4vw, 4.25rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* CTA band: give the headline room, prevent split-letter transforms clipping it */
.section.cta-two .title,
.section.cta-two h2 {
    font-size: clamp(1.75rem, 3.4vw, 3rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    transform: none !important;
}
.section.cta-two .title > div,
.section.cta-two h2 > div {
    transform: none !important;
    opacity: 1 !important;
}

/* Contact page: make form body readable on light bg */
.section.contact {
    color: var(--irisyo-ink);
    background: #fff;
}
.section.contact h1,
.section.contact h2,
.section.contact h3,
.section.contact .title {
    color: var(--irisyo-ink) !important;
}
.section.contact p,
.section.contact label {
    color: rgba(10, 10, 10, .8) !important;
}
.section.contact .sub-title {
    color: var(--irisyo-brand) !important;
}
.section.contact a {
    color: var(--irisyo-brand) !important;
}

/* ── FAQ section (product + contact) on dark background ── */
.section.faq {
    background: #0a0a0a !important;
    color: #fff;
    padding: 100px 0;
}
.section.faq .title,
.section.faq h2 {
    color: #fff !important;
}
.section.faq .sub-title {
    color: var(--irisyo-brand) !important;
}
.section.faq .accordion-item {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
    overflow: hidden;
    transition: border-color .2s, background .2s;
}
.section.faq .accordion-item:hover {
    border-color: rgba(1, 117, 194, .4) !important;
}
.section.faq .accordion-button {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    box-shadow: none !important;
    padding: 20px 24px !important;
    letter-spacing: -0.01em;
}
.section.faq .accordion-button:not(.collapsed) {
    background: rgba(1, 117, 194, .08) !important;
    color: #fff !important;
}
/* Replace theme icon with a brand-blue plus/minus */
.section.faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230175C2'%3E%3Cpath d='M8 2a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2H9v4a1 1 0 1 1-2 0V9H3a1 1 0 1 1 0-2h4V3a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") !important;
    transform: none !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    background-size: contain !important;
    transition: transform .25s;
}
.section.faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230175C2'%3E%3Cpath d='M3 8a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") !important;
    transform: none !important;
}
.section.faq .accordion-body {
    color: rgba(255, 255, 255, .82) !important;
    padding: 4px 24px 22px !important;
    line-height: 1.65 !important;
    font-size: 15.5px !important;
}

/* Validation error messages — readable + urgent */
.section.contact p[role="alert"],
.section.contact .form-error {
    color: #d43b3b !important;
    font-weight: 500;
    margin-top: 6px !important;
}

/* ── Iris analysis slider ── */
.iris-glimpse {
    background:
        radial-gradient(1200px 600px at 15% 10%, rgba(1,117,194,.18), transparent 60%),
        radial-gradient(900px 500px at 90% 90%, rgba(1,117,194,.10), transparent 55%),
        #0a0a0a !important;
}
.iris-slider { position: relative; padding: 30px 0 10px; }
.iris-slide { padding: 0 14px; outline: none; }

.iris-card {
    position: relative;
    background: linear-gradient(180deg, #121212 0%, #0b0b0b 100%);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 640px;
    transition: transform .35s cubic-bezier(.2,.7,.25,1), box-shadow .35s, border-color .35s, opacity .35s;
    opacity: .55;
    transform: scale(.94);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.iris-slider .slick-current .iris-card,
.iris-slider .slick-center .iris-card {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(1, 117, 194, .45);
    box-shadow:
        0 40px 80px -20px rgba(1, 117, 194, .38),
        0 8px 40px rgba(0, 0, 0, .6),
        inset 0 1px 0 rgba(255, 255, 255, .06);
}
.iris-card:hover { border-color: rgba(1, 117, 194, .6); }

.iris-card__media {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(1,117,194,.07), transparent 60%),
        #f8f9ff;
    padding: 36px 28px;
    min-height: 0;
}
.iris-card__media::before {
    content: '';
    position: absolute;
    inset: 16px;
    background-image:
        linear-gradient(rgba(1,117,194,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1,117,194,.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    border-radius: 8px;
}
.iris-card__media img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(12, 26, 46, .22);
}

.iris-card__meta {
    flex: 0 0 auto;
    position: relative;
    padding: 26px 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background:
        linear-gradient(180deg, rgba(1,117,194,.05) 0%, rgba(1,117,194,0) 100%);
}
.iris-card__num {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .15em;
    color: var(--irisyo-brand);
    background: rgba(1, 117, 194, .12);
    border: 1px solid rgba(1, 117, 194, .4);
    padding: 5px 12px;
    border-radius: 999px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.iris-card__num::before {
    content: '— ';
    opacity: .55;
}
.iris-card__caption {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    letter-spacing: -.005em;
}

/* Active-slide badge glow */
.iris-slider .slick-current .iris-card__num,
.iris-slider .slick-center .iris-card__num {
    background: rgba(1, 117, 194, .22);
    box-shadow: 0 0 0 4px rgba(1, 117, 194, .08);
}

/* Slick arrow buttons (pill below the slider, brand-styled) */
.iris-slider .iris-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(8, 8, 8, .75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 5;
    cursor: pointer;
    font-size: 16px;
}
.iris-slider .iris-arrow:hover {
    background: var(--irisyo-brand);
    border-color: var(--irisyo-brand);
    box-shadow: 0 0 0 6px rgba(1,117,194,.18);
}
.iris-slider .iris-arrow--prev { left: -24px; }
.iris-slider .iris-arrow--next { right: -24px; }
.iris-slider .slick-disabled { opacity: .3; cursor: not-allowed; }

/* Slick dots */
.iris-slider .slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 36px 0 0;
    margin: 0;
}
.iris-slider .slick-dots li { line-height: 0; }
.iris-slider .slick-dots button {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 0;
    font-size: 0;
    cursor: pointer;
    transition: background .2s, width .2s;
    padding: 0;
}
.iris-slider .slick-dots .slick-active button {
    background: var(--irisyo-brand);
    width: 28px;
}

/* Keep slick's track heights equal */
.iris-slider .slick-list { overflow: visible; padding: 30px 0; margin: -30px 0; }
.iris-slider .slick-track { display: flex !important; }
.iris-slider .slick-slide { height: auto; }
.iris-slider .slick-slide > div { height: 100%; }

@media (max-width: 991px) {
    .iris-card { height: 560px; }
    .iris-card__caption { font-size: 16px !important; }
    .iris-slider .iris-arrow--prev { left: -8px; }
    .iris-slider .iris-arrow--next { right: -8px; }
}
@media (max-width: 575px) {
    .iris-card { height: 500px; }
    .iris-card__media { padding: 22px 18px; }
    .iris-card__meta { padding: 20px 22px 24px; }
    .iris-card__caption { font-size: 15px !important; }
    .iris-slider .iris-arrow { width: 44px; height: 44px; }
}

/* Keep split-letter animation from mangling the footer email and hero title */
.folks-text,
.banner h1 {
    speak: normal;
}
.folks-text > div,
.folks-text .split-text-line {
    display: inline !important;
}
