/*
 * SeedHost Contact Us variant (/contact-us-claude/).
 * Every rule is scoped to the .shk-* blocks of the page content, so the theme's header, info bar,
 * breadcrumbs, page title and footer are never restyled. Sizes, colours and breakpoints repeat the
 * hero and the plan rows of the rebuilt service pages, so the page reads as one of them.
 */

.shk-preview {
    --shk-ink: #212a2e;
    --shk-muted: #4f595f;
    --shk-orange: #ffa109;
    --shk-navy: #0b1730;
    --shk-band: #f6f6f6;
    --shk-card: #ffffff;
    --shk-line: #e6e8ea;
    --shk-note: #fff5e0;
    --shk-note-line: #ffdf9f;
    --shk-note-ink: #5b3d06;
    --shk-ok: var(--shk-orange);
    --shk-ok-ground: #ffffff;
    --shk-focus: #1862c0;
}

.lagom-dark-mode .shk-preview {
    --shk-ink: #fdfdfd;
    --shk-muted: #b0bed0;
    --shk-band: #121212;
    --shk-card: #242424;
    --shk-line: #3b3b3b;
    --shk-note: #32290f;
    --shk-note-line: #6d500f;
    --shk-note-ink: #ffe0a3;
    --shk-focus: #8fbcf5;
}

/* The theme's dark mode paints every "svg path" white; these drawings keep their authored fills. */
.lagom-dark-mode .shk-hero svg path,
.lagom-dark-mode .shk-teams svg path {
    fill: revert-layer !important;
}

.shk-hero [hidden],
.shk-teams [hidden] {
    display: none !important;
}

.shk-hero a:focus-visible,
.shk-hero button:focus-visible,
.shk-teams a:focus-visible,
.shk-teams button:focus-visible {
    outline: 3px solid var(--shk-focus);
    outline-offset: 4px;
}

/* ---------- First screen: the same grid and type as the service pages' heroes ---------- */

.shk-hero {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    align-items: center;
    gap: 26px;
    padding-top: 35px;
    padding-bottom: 28px;
    text-align: left;
}

.shk-hero-copy,
.shk-hero-art {
    min-width: 0;
}

.shk-hero h2 {
    margin: 0 0 24px;
    color: var(--shk-ink);
    font-size: clamp(34px, 3.65vw, 54px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.035em;
    text-align: left;
}

.shk-hero h2 span {
    color: #345887;
}

.lagom-dark-mode .shk-hero h2 span {
    color: #99bbed;
}

.shk-hero-description {
    max-width: 510px;
    margin: 0 0 26px;
    color: var(--shk-muted);
    font-size: 17px;
    line-height: 1.7;
}

.shk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.shk-hero-actions .button,
.shk-teams .button {
    color: #fff !important;
}

.shk-text-link {
    color: var(--shk-ink) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* One step up from the service pages' 12px line: nothing meant to be read goes below 13px. */
.shk-hero-details {
    margin: 22px 0 0;
    color: var(--shk-muted);
    font-size: 13px;
    line-height: 1.6;
}

.shk-hero-details span {
    padding: 0 6px;
}

.shk-scene {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
}

.shk-scene-art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.lagom-dark-mode .shk-scene-labels text {
    fill: #b0bed0;
}

/*
 * The demo. Before the script starts (or without it) the finished picture stays visible: the sent
 * ticket and the reply. Once it runs, the overview shows an empty ticket and the button sends it.
 */
.shk-hero-art[data-initialized="true"][data-state="overview"] .shk-scene-subject,
.shk-hero-art[data-initialized="true"][data-state="overview"] .shk-scene-send-done,
.shk-hero-art[data-initialized="true"][data-state="overview"] .shk-scene-reply,
.shk-hero-art[data-initialized="true"][data-state="overview"] .shk-scene-led-ring,
.shk-hero-art:not([data-initialized="true"]) .shk-scene-subject-empty,
.shk-hero-art:not([data-initialized="true"]) .shk-scene-send-idle,
.shk-hero-art[data-state="active"] .shk-scene-subject-empty,
.shk-hero-art[data-state="active"] .shk-scene-send-idle {
    opacity: 0;
}

.shk-scene-send {
    transition: fill 240ms ease-out, stroke 240ms ease-out;
}

.shk-hero-art:not([data-initialized="true"]) .shk-scene-send,
.shk-hero-art[data-state="active"] .shk-scene-send {
    fill: #d9f2e4;
    stroke: #408466;
}

.shk-hero-art[data-initialized="true"][data-state="active"] .shk-scene-subject {
    animation: shk-reveal 200ms ease-out backwards;
}

.shk-hero-art[data-initialized="true"][data-state="active"] .shk-scene-send-done {
    animation: shk-reveal 200ms ease-out 260ms backwards;
}

.shk-hero-art[data-initialized="true"][data-state="active"] .shk-scene-flow {
    animation: shk-flow 900ms linear 300ms 2;
}

.shk-hero-art[data-initialized="true"][data-state="active"] .shk-scene-led-ring {
    animation: shk-ring 800ms ease-out 900ms 2 backwards;
}

.shk-hero-art[data-initialized="true"][data-state="active"] .shk-scene-reply {
    animation: shk-reveal 260ms ease-out 2100ms backwards;
}

@keyframes shk-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shk-flow {
    to { stroke-dashoffset: -92; }
}

@keyframes shk-ring {
    0% { opacity: .2; }
    100% { opacity: 1; }
}

.shk-demo-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.shk-demo-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid #0b1730;
    border-radius: 5px;
    background: #fff;
    color: #0b1730;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.shk-demo-toggle:hover {
    background: #fff3da;
}

.shk-demo-toggle svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.shk-demo-status {
    min-height: 1.4em;
    margin: 0;
    color: var(--shk-muted);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.lagom-dark-mode .shk-demo-toggle {
    border-color: #92add0;
    background: #202b37;
    color: #e9f2ff;
}

.lagom-dark-mode .shk-demo-toggle:hover {
    background: #2c3d52;
}

/* ---------- The contact directory: rows built like the plan rows ---------- */

.shk-teams {
    padding: 52px 0 38px;
    background: var(--shk-band);
    color: var(--shk-ink);
    text-align: left;
    scroll-margin-top: 110px;
}

.shk-teams-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px;
}

.shk-teams-head h3 {
    margin: 0 0 7px;
    color: var(--shk-ink);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.shk-teams-head p {
    margin: 0;
    color: var(--shk-muted);
    font-size: 16px;
    line-height: 1.66;
}

.shk-teams-head .shk-teams-hint {
    max-width: 470px;
    color: var(--shk-ink);
    text-align: right;
}

.shk-teams-hint strong {
    color: var(--shk-ink);
    font-weight: 600;
}

.shk-team-group {
    margin: 0 0 28px;
}

.shk-team-group:last-child {
    margin-bottom: 0;
}

/* The product categories' orange tab: a separate heading above each department. */
.shk-teams .shk-team-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 18px 32px;
    border-radius: 20px 20px 0 0;
    background: var(--shk-orange);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.shk-teams .shk-team-tab-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: inherit;
}

.shk-teams .shk-team-tab .shk-team-tab-icon path {
    fill: none !important;
}

@media (min-width: 992px) {
    .shk-teams .shk-team-tab {
        width: 320px;
    }
}

.shk-team {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.5fr) 214px;
    align-items: start;
    margin: 0;
    border-top: 5px solid var(--shk-orange);
    border-radius: 0 0 20px 20px;
    background: var(--shk-card);
    color: var(--shk-ink);
    overflow: hidden;
}

.shk-team-cell {
    min-width: 0;
    padding: 25px 10px 15px;
    text-align: center;
}

.shk-team-label {
    padding: 0 0 8px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
}

.shk-team-value {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.66;
    text-wrap: balance;
}

.shk-team-cell--who .shk-team-value {
    font-weight: 600;
}

.shk-team-address {
    display: block;
    color: var(--shk-ink) !important;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.58;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.shk-team-address:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.shk-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0 0;
    padding: 3px 11px 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    color: var(--shk-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
}

.shk-copy:hover {
    border-color: var(--shk-line);
    color: var(--shk-ink);
}

.shk-copy svg {
    flex: 0 0 14px;
}

.shk-copy .shk-copy-done,
.shk-copy[data-copied="true"] .shk-copy-icon {
    display: none;
}

.shk-copy[data-copied="true"] .shk-copy-done {
    display: block;
}

/* "Copied" uses the same orange accent as the page's buttons and department tabs. */
.shk-copy[data-copied="true"] {
    border-color: var(--shk-ok);
    background: var(--shk-ok);
    color: var(--shk-ok-ground);
    font-weight: 600;
}

.shk-copy[data-copied="false"] {
    border-color: var(--shk-note-line);
    background: var(--shk-note);
    color: var(--shk-note-ink);
}

.shk-team-cell--action {
    align-self: center;
    padding: 12px 22px 12px 8px;
}

.shk-team-cell--action .button {
    display: block;
    max-width: none;
    padding: 0 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* The ticket is the one filled button; the three mail buttons take the outline of the hero's demo button. */
.shk-teams .button.shk-button-line {
    border: 2px solid var(--shk-orange) !important; /* the theme sets every button's border with !important */
    background: #fff;
    box-shadow: none; /* taste-skill-ignore: removes the theme button's shadow */
    color: var(--shk-ink) !important;
    transition: transform 180ms cubic-bezier(.16, 1, .3, 1), box-shadow 180ms cubic-bezier(.16, 1, .3, 1);
}

/* The theme's sliding black overlay would cover these outlined e-mail buttons. */
.shk-teams a.button.shk-button-line::before {
    content: none;
}

.shk-teams .button.shk-button-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(11, 23, 48, .16);
}

.lagom-dark-mode main .shk-teams .button.shk-button-line {
    border: 2px solid #fda009 !important;
    background: var(--shk-card);
    color: var(--shk-ink) !important;
}

@media (prefers-reduced-motion: reduce) {
    .shk-teams .button.shk-button-line {
        transition: none;
    }

    .shk-teams .button.shk-button-line:hover {
        transform: none;
    }
}

.shk-team-note {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 12px 24px 13px;
    background: var(--shk-note);
    color: var(--shk-note-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

.shk-team-note svg {
    flex: 0 0 16px;
    margin-top: 4px;
}

.shk-copy-status {
    position: absolute;
    width: 1px;
    height: 1px; /* taste-skill-ignore: visually hidden live region */
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.shk-teams-notes {
    padding-top: 26px;
}

.shk-company-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid var(--shk-line);
    border-radius: 20px;
    background: var(--shk-card);
}

.shk-company-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--shk-note-line);
    border-radius: 12px;
    background: var(--shk-note);
    color: var(--shk-orange);
}

.shk-company-content {
    min-width: 0;
}

.shk-company-card h3 {
    margin: 0 0 10px;
    color: var(--shk-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.shk-teams-notes .shk-company {
    margin: 0;
    color: var(--shk-muted);
    font-size: 16px;
    font-style: normal;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.shk-company span {
    display: block;
}

.shk-company .shk-company-name {
    margin-bottom: 4px;
    color: var(--shk-ink);
    font-weight: 600;
}

@media (max-width: 479px) {
    .shk-company-card {
        gap: 14px;
        padding: 20px;
    }

    .shk-company-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
}

/* The same band the Shared page uses for its migration offer. */
.shk-kb {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin: 22px 0 28px;
    padding: 30px;
    border-radius: 5px;
    background: #0b1b36;
    color: #fff;
}

.shk-kb-icon {
    color: #ffb332;
}

.shk-kb-icon svg {
    display: block;
}

.shk-kb h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.shk-kb p {
    max-width: 640px;
    margin: 0;
    color: #b7c5d9;
    font-size: 16px;
    line-height: 1.7;
}

/* Only when the service pages' own numbered badges are missing. */
.shk-number {
    display: grid;
    width: 60px;
    height: 60px;
    margin: 0;
    place-items: center;
    border: 3px solid var(--shk-orange);
    border-radius: 50%;
    color: var(--shk-orange);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Narrower screens: the service pages' breakpoints ---------- */

@media (max-width: 1399px) {
    .shk-team {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.5fr) 196px;
    }

    .shk-team-cell--action {
        padding-right: 18px;
    }
}

@media (max-width: 1199px) {
    .shk-hero {
        gap: 15px;
        padding-top: 26px;
    }

    .shk-hero h2 {
        font-size: clamp(32px, 3.65vw, 41px);
    }

    .shk-hero-description {
        font-size: 15px;
    }

    .shk-hero-details {
        margin-top: 18px;
    }

    .shk-team {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, 1.4fr) 176px;
    }

    .shk-team-value {
        font-size: 16px;
    }

    .shk-team-address {
        font-size: 16px;
    }

    .shk-team-cell--action {
        padding: 12px 14px 12px 4px;
    }

    .shk-team-cell--action .button {
        font-size: 14px;
    }

    .shk-kb {
        grid-template-columns: auto 1fr;
    }

    .shk-kb > a {
        grid-column: 2;
        justify-self: start;
    }
}

/* From here the rows become cards, as the plan rows do: one line for each label and value. */
@media (max-width: 991px) {
    .shk-teams-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .shk-teams-head .shk-teams-hint {
        max-width: none;
        text-align: left;
    }

    .shk-team {
        display: block;
    }

    .shk-team-cell {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
        align-items: center;
        gap: 12px;
        padding: 17px 16px;
        border-bottom: 1px solid var(--shk-line); /* taste-skill-ignore: label and value rows of a table, as in the theme's plan cards */
    }

    .shk-team-label {
        padding: 0;
    }

    .shk-team-value {
        font-size: 18px;
    }

    .shk-team-address {
        font-size: 18px;
    }

    .shk-team-cell--action {
        display: block;
        padding: 24px 22px 26px;
        border-bottom: 0;
        text-align: left;
    }

    .shk-team-cell--action .button {
        display: inline-block;
        min-width: 176px;
        padding: 0 30px;
        font-size: 16px;
    }

    .shk-team-note {
        justify-content: flex-start;
        padding: 14px 18px 16px;
    }
}

@media (max-width: 767px) {
    .shk-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .shk-hero h2 {
        margin-bottom: 17px;
        font-size: clamp(32px, 6.8vw, 42px);
        line-height: 1.15;
    }

    .shk-hero-description {
        max-width: none;
        margin-bottom: 21px;
        font-size: 15px;
        line-height: 1.65;
    }

    .shk-hero-actions {
        gap: 14px;
    }

    .shk-hero-art {
        width: 100%;
        max-width: 520px;
        margin: auto;
    }

    .shk-demo-toggle {
        min-height: 46px;
        padding: 11px 17px;
    }

    .shk-teams {
        padding: 36px 0 26px;
    }

    .shk-kb {
        display: block;
        padding: 24px;
    }

    .shk-kb-icon {
        margin-bottom: 12px;
    }

    .shk-kb h3 {
        font-size: 19px;
    }

    .shk-kb > a {
        margin-top: 20px;
    }
}

@media (max-width: 479px) {
    .shk-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .shk-team-cell {
        grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr);
        gap: 8px;
        padding: 16px 12px;
    }

    .shk-team-label {
        font-size: 13px;
    }

    .shk-team-value,
    .shk-team-address {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shk-hero-art *,
    .shk-hero-art *::before,
    .shk-hero-art *::after,
    .shk-copy {
        animation: none !important;
        transition: none !important;
    }
}
