@import url("/components/font.css");
@import url("/components/site-header/site-header.css?v=260517-nav2");

:root {
    --amg-blue-500: #0038ff;
    --amg-blue-600: #0144b5;
    --amg-blue-700: #0008a2;
    --amg-paper: #f7f9ff;
    --amg-mist: #e7eeff;
    --amg-ink: #091327;
    --amg-steel: #52627c;
    --amg-line: rgba(0, 56, 255, 0.14);
    --amg-line-strong: rgba(0, 56, 255, 0.28);
    --amg-panel: rgba(255, 255, 255, 0.88);
    --amg-shadow: 0 24px 80px rgba(2, 18, 79, 0.18);
    --amg-radius: 28px;
    --amg-gradient: linear-gradient(135deg, #0008a2 0%, #0038ff 58%, #0144b5 100%);
    --amg-gradient-deep: linear-gradient(180deg, rgba(0, 8, 162, 0.96) 0%, rgba(0, 56, 255, 0.9) 100%);
    --amg-grid: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    --amg-font-base: "RIDIBatang", "Times New Roman", serif;
    --amg-font-display: "KOHIBaeumOTF", "RIDIBatang", serif;
    --amg-font-label: "EliceDigitalCodingverH_Regular", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--amg-ink);
    background:
        radial-gradient(circle at top left, rgba(0, 56, 255, 0.16), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(1, 68, 181, 0.11), transparent 24%),
        linear-gradient(180deg, #fcfdff 0%, #f2f6ff 44%, #f8fbff 100%);
    font-family: var(--amg-font-base);
    overflow-x: hidden;
}

.font-hansantteut,
.font-hansantteut * {
    font-family: "HanSantteutDotum-Regular", "Malgun Gothic", sans-serif !important;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero {
    position: relative;
    min-height: calc(100svh - 78px);
    padding: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(112px, 10vw, 156px);
    background: linear-gradient(135deg, rgba(0, 8, 162, 0.98), rgba(0, 56, 255, 0.92) 58%, rgba(1, 68, 181, 0.9));
    color: white;
    overflow: clip;
}

.home-section-nav-shell {
    position: fixed;
    top: 50%;
    right: clamp(14px, 2vw, 28px);
    z-index: 19;
    transform: translateY(-50%);
    padding: 0;
    margin-top: 0;
}

.home-section-nav {
    width: 184px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(0, 56, 255, 0.12);
    border-radius: 22px;
    background: rgba(247, 249, 255, 0.92);
    box-shadow: 0 18px 40px rgba(14, 30, 86, 0.14);
    backdrop-filter: blur(16px);
}

.home-section-nav a {
    position: relative;
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: #52627c;
    text-decoration: none;
    font-family: var(--amg-font-base);
    font-size: 0.84rem;
    line-height: 1.35;
    word-break: keep-all;
    background: rgba(255, 255, 255, 0.72);
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.home-section-nav a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 3px;
    height: calc(100% - 16px);
    border-radius: 999px;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    background: var(--amg-blue-500);
    transition: transform 180ms ease;
}

.home-section-nav a:hover,
.home-section-nav a:focus-visible {
    color: var(--amg-ink);
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(-2px);
}

.home-section-nav a:hover::after,
.home-section-nav a:focus-visible::after,
.home-section-nav a[aria-current="true"]::after {
    transform: translateY(-50%) scaleY(1);
}

.home-section-nav a[aria-current="true"] {
    color: var(--amg-ink);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 22px rgba(0, 56, 255, 0.12);
}

@media (min-width: 1440px) {
    .hero {
        padding-right: clamp(224px, 14vw, 292px);
    }

    .hero-inner {
        max-width: 1260px;
    }

    .hero-showcase {
        width: min(100%, 560px);
    }

    .showcase-caption {
        width: 100%;
    }
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(24px, 3vw, 46px);
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-copy-block {
    max-width: 940px;
    padding-top: min(7vh, 62px);
    animation: rise-in 700ms cubic-bezier(0.18, 0.78, 0.22, 1) both;
}

.eyebrow {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.hero-title {
    margin: 0;
}

.hero-title-note {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.06rem, 1.75vw, 1.3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-service-line {
    margin: 0 0 14px;
    color: #7ea7ff;
    font-family: var(--amg-font-base);
    font-size: clamp(1.2rem, 1.5vw, 1.7rem);
    letter-spacing: -0.025em;
}

.hero-headline {
    margin: 0;
    color: #ffffff;
    font-family: var(--amg-font-base);
    font-size: clamp(1.55rem, 2vw, 2.45rem);
    line-height: 1.14;
    letter-spacing: -0.045em;
    max-width: none;
    white-space: nowrap;
}

.hero-brand-banner {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 28px 0 32px;
    min-height: 92px;
    padding: 10px 24px 12px;
    color: #1c2030;
    font-family: var(--amg-font-display);
    font-size: clamp(3rem, 4.55vw, 5.3rem);
    letter-spacing: -0.06em;
    line-height: 0.94;
    white-space: nowrap;
    z-index: 0;
    isolation: isolate;
}

.hero-brand-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: #ffbf1f;
    border: 4px dashed rgba(126, 126, 126, 0.86);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 10px 24px rgba(0, 8, 162, 0.16);
    z-index: -1;
}

.hero-lead {
    margin: 24px 0 0;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.98rem, 1.35vw, 1.12rem);
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
    background: white;
    color: var(--amg-blue-700);
    box-shadow: 0 16px 42px rgba(6, 17, 68, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.button-primary:hover,
.button-secondary:hover,
.button-primary:focus-visible,
.button-secondary:focus-visible {
    transform: translateY(-2px);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
    display: grid;
    gap: 4px;
}

.hero-metrics strong {
    font-size: 1rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.84rem;
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    align-items: center;
    justify-items: end;
}

.hero-showcase {
    display: grid;
    gap: 18px;
    width: min(100%, 620px);
    align-content: start;
    animation: float-in 860ms cubic-bezier(0.18, 0.78, 0.22, 1) both;
}

.showcase-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 36px;
    perspective: 1500px;
    transform-style: preserve-3d;
    overflow: visible;
}

.showcase-slide {
    position: absolute;
    inset: 3% 5%;
    overflow: hidden;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px rgba(0, 8, 51, 0.24);
    opacity: 0;
    transform: translate3d(34%, -1%, -180px) rotateY(-34deg) rotateZ(5deg) scale(0.86);
    transform-origin: center center;
    transition:
        opacity 560ms ease,
        transform 900ms cubic-bezier(0.2, 0.72, 0.2, 1),
        box-shadow 900ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.showcase-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
    z-index: 3;
    box-shadow: 0 34px 90px rgba(0, 8, 51, 0.28);
}

.showcase-slide.is-next {
    opacity: 0.52;
    transform: translate3d(24%, -2%, -120px) rotateY(-30deg) rotateZ(3deg) scale(0.9);
    z-index: 2;
}

.showcase-slide.is-prev {
    opacity: 0.34;
    transform: translate3d(-24%, 2%, -220px) rotateY(26deg) rotateZ(-3deg) scale(0.84);
    z-index: 1;
}

.showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.showcase-caption {
    width: 90%;
    min-height: 112px;
    margin: -10px auto 0;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(8, 26, 122, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.showcase-caption-label,
.showcase-caption-title,
.showcase-caption-copy {
    transition: opacity 180ms ease, transform 180ms ease;
}

.showcase-caption-label.is-swapping,
.showcase-caption-title.is-swapping,
.showcase-caption-copy.is-swapping {
    opacity: 0;
    transform: translateY(8px);
}

.showcase-caption-label {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--amg-font-label);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.showcase-caption-title {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.showcase-caption-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    font-size: 0.9rem;
}

.intro-ribbon {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    justify-items: center;
    width: min(1240px, calc(100% - 40px));
    margin: -118px auto 0;
    padding: 26px 28px;
    border: 1px solid var(--amg-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--amg-shadow);
    backdrop-filter: blur(18px);
}

.intro-ribbon p {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.8;
    text-align: center;
}

.intro-ribbon strong {
    color: var(--amg-blue-700);
}

.intro-ribbon-title {
    color: var(--amg-blue-700);
    font-family: var(--amg-font-base);
    font-weight: 800;
    font-size: clamp(1.2rem, 1.9vw, 1.6rem);
    line-height: 1.45;
}

.intro-ribbon-copy {
    max-width: 760px;
    color: var(--amg-ink);
}

.cta-band {
    width: 100%;
    padding: 34px 0 8px;
}

.cta-inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.cta-ai-strip {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 88% 12%, rgba(103, 216, 255, 0.24), transparent 26%),
        radial-gradient(circle at 24% 86%, rgba(0, 214, 201, 0.18), transparent 24%),
        linear-gradient(135deg, #071b42 0%, #0d2f76 52%, #1151c6 100%);
    border: 1px solid rgba(145, 209, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 26px 60px rgba(6, 24, 77, 0.24);
    overflow: hidden;
}

.cta-ai-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 32%, transparent 68%, rgba(103, 216, 255, 0.12)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 46px);
    pointer-events: none;
    opacity: 0.78;
}

.cta-ai-intro {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    width: min(100%, 240px);
    padding: 4px 6px 4px 4px;
    text-align: center;
}

.cta-ai-copy {
    display: grid;
    color: #ffffff;
    justify-items: center;
    text-align: center;
}

.cta-ai-copy strong {
    font-size: clamp(1.4rem, 2vw, 1.86rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.cta-ai-links {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    flex: 1;
}

.cta-ai-button {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    min-height: 120px;
    padding: 18px 22px;
    border-radius: 24px;
    border: 1px solid rgba(151, 217, 255, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(16, 50, 122, 0.92) 0%, rgba(21, 77, 184, 0.82) 55%, rgba(0, 214, 201, 0.26) 100%);
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 36px rgba(3, 18, 58, 0.22);
    backdrop-filter: blur(12px);
    isolation: isolate;
    text-align: center;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.cta-ai-button::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.cta-ai-button strong,
.cta-ai-button-status {
    position: relative;
    z-index: 1;
}

.cta-ai-button-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(222, 248, 255, 0.1);
    border: 1px solid rgba(173, 233, 255, 0.22);
    color: #d8fbff;
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-ai-button-status-link {
    gap: 8px;
    background: rgba(133, 221, 255, 0.14);
    border-color: rgba(155, 227, 255, 0.28);
    color: #dcf8ff;
}

.cta-ai-button-status-link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(1px);
    transform-origin: center;
}

.cta-ai-button strong {
    font-size: clamp(1.08rem, 1.45vw, 1.34rem);
    line-height: 1.3;
    letter-spacing: 0.045em;
    word-spacing: 0.08em;
    text-align: center;
}

.cta-ai-button:not(.cta-ai-button-disabled) strong {
    margin-top: 2px;
}

.cta-ai-button:hover,
.cta-ai-button:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(173, 233, 255, 0.36);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 22px 42px rgba(3, 18, 58, 0.28),
        0 0 0 1px rgba(103, 216, 255, 0.12);
}

.cta-ai-button-disabled {
    overflow: visible;
    background: linear-gradient(135deg, rgba(55, 61, 74, 0.96) 0%, rgba(72, 79, 95, 0.94) 100%);
    border-color: rgba(205, 214, 230, 0.1);
    color: rgba(255, 255, 255, 0.92);
    cursor: not-allowed;
}

.cta-ai-button-disabled::after {
    display: none;
}

.cta-ai-button-disabled .cta-ai-button-status {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
}

.cta-ai-button-disabled .cta-ai-button-status-link {
    background: rgba(132, 210, 236, 0.1);
    border-color: rgba(177, 225, 240, 0.2);
    color: rgba(229, 247, 255, 0.9);
}

.cta-ai-hover-note {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(18, 20, 26, 0.82);
    border: 1px solid rgba(255, 210, 135, 0.34);
    color: #ffdfaa;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    transform: translate(-50%, calc(-50% + 8px));
    box-shadow: 0 10px 24px rgba(12, 10, 7, 0.26);
    pointer-events: none;
}

.cta-ai-button-disabled:hover {
    transform: none;
    border-color: rgba(255, 209, 134, 0.24);
    background: linear-gradient(135deg, rgba(72, 66, 59, 0.98) 0%, rgba(94, 84, 72, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 36px rgba(52, 32, 10, 0.22);
}

.cta-ai-button-disabled:hover strong {
    opacity: 0.24;
}

.cta-ai-button-disabled:hover .cta-ai-button-status {
    opacity: 0.18;
}

.cta-ai-button-disabled:hover .cta-ai-hover-note {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.cta-primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 176px;
    padding: 24px 26px;
    border-radius: 26px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.cta-card:hover,
.cta-card:focus-visible {
    transform: translateY(-3px);
}

.cta-card-ai {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 8, 162, 0.98), rgba(0, 56, 255, 0.92) 58%, rgba(1, 68, 181, 0.9));
    box-shadow: 0 18px 42px rgba(0, 56, 255, 0.18);
}

.cta-card-ai::before {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.cta-card-disabled {
    color: rgba(255, 255, 255, 0.94);
    background: linear-gradient(135deg, rgba(9, 19, 39, 0.78), rgba(82, 98, 124, 0.72));
    box-shadow: 0 14px 30px rgba(9, 19, 39, 0.12);
}

.cta-card-disabled::before {
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.cta-card-disabled:hover {
    transform: none;
}

.cta-card-topline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 44px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cta-badge-ai {
    color: #ffffff;
    background: rgba(233, 225, 255, 0.16);
    border: 1px solid rgba(233, 225, 255, 0.24);
}

.cta-badge-dev {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-text {
    display: grid;
    gap: 8px;
}

.cta-text strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.28;
    letter-spacing: -0.03em;
}

.cta-text p {
    margin: 0;
    max-width: 30rem;
    font-size: 0.96rem;
    line-height: 1.68;
    color: inherit;
    opacity: 0.84;
}

.cta-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.cta-links a {
    position: relative;
    display: grid;
    gap: 8px;
    align-content: center;
    justify-items: center;
    min-height: 96px;
    padding: 18px 20px;
    border-radius: 24px;
    color: #10214d;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.98));
    border: 1px solid rgba(83, 139, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 16px 34px rgba(16, 49, 117, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cta-link-tag {
    color: #5d7ec9;
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-links a strong {
    font-size: 1.02rem;
    line-height: 1.35;
    text-align: center;
}

.cta-links a:hover,
.cta-links a:focus-visible {
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(231, 243, 255, 1));
    border-color: rgba(66, 136, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 20px 38px rgba(16, 49, 117, 0.13);
}

.section {
    width: min(1240px, calc(100% - 40px));
    margin: 150px auto 0;
    padding: 0;
}

#top,
#quick-links,
#solo-value,
#services,
#process,
#portfolio,
#insights,
#location,
#about-intro {
    scroll-margin-top: 96px;
}

#contact {
    scroll-margin-top: 170px;
}

.section-head {
    display: grid;
    gap: 16px;
    margin-bottom: 42px;
}

.section-kicker {
    margin: 0;
    color: var(--amg-blue-600);
    font-family: var(--amg-font-label);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.section-head h2 {
    margin: 0;
    font-family: "KOHIBaeum", serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.section-head p {
    margin: 0;
    max-width: 720px;
    color: var(--amg-steel);
    font-size: 1rem;
    line-height: 1.8;
}

.section-head-main {
    display: grid;
    grid-template-columns: minmax(0, 820px) auto;
    align-items: end;
    justify-content: start;
    column-gap: 34px;
    row-gap: 16px;
}

.services-head-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
    min-height: 64px;
    padding: 0 30px;
    border-radius: 999px;
    border: 1px solid rgba(126, 157, 216, 0.3);
    background: rgba(255, 255, 255, 0.68);
    color: #4f678f;
    box-shadow: 0 10px 24px rgba(86, 111, 163, 0.08);
    backdrop-filter: blur(10px);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.services-head-action:hover,
.services-head-action:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(126, 157, 216, 0.42);
    color: #3f5984;
}

.about-shell {
    display: grid;
    gap: 32px;
}

.about-letter {
    display: grid;
    gap: 28px;
    padding: clamp(26px, 4vw, 40px);
    border-radius: calc(var(--amg-radius) + 6px);
    border: 1px solid rgba(0, 56, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(0, 84, 255, 0.09), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 199, 63, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 244, 255, 0.92));
    box-shadow: 0 22px 54px rgba(7, 18, 62, 0.08);
}

.about-letter-header {
    position: relative;
    display: block;
    padding-right: 300px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 56, 255, 0.12);
}

.about-letter-heading {
    display: grid;
    gap: 14px;
}

.about-letter-heading h2 {
    margin: 0;
    color: var(--amg-ink);
    font-family: var(--amg-font-display);
    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: 0.01em;
    word-spacing: 0.04em;
}

.about-letter-greeting {
    margin-right: 0;
}

.about-letter-intro {
    margin-left: 0.08em;
}

.about-letter-name-highlight {
    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 0 0.08em;
}

.about-letter-name-highlight::after {
    content: "";
    position: absolute;
    left: -0.02em;
    right: -0.02em;
    bottom: 0.01em;
    height: 0.34em;
    z-index: -1;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 214, 10, 0.88), rgba(255, 146, 43, 0.9));
}

.about-inline-highlight {
    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 0 0.08em;
    color: var(--amg-ink);
    font-weight: 700;
}

.about-inline-highlight::after {
    content: "";
    position: absolute;
    left: -0.03em;
    right: -0.03em;
    bottom: 0.02em;
    height: 0.38em;
    z-index: -1;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 214, 10, 0.88), rgba(255, 146, 43, 0.9));
}

.about-letter-subtitle {
    margin: 0;
    max-width: 720px;
    color: var(--amg-steel);
    font-size: 1.03rem;
    line-height: 1.84;
}

.about-letter-body {
    display: grid;
    gap: 20px;
}

.about-letter-avatar-shell {
    position: absolute;
    top: 2px;
    right: 6px;
    z-index: 1;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.about-letter-avatar {
    width: clamp(300px, 25vw, 420px);
    object-fit: contain;
    transform-origin: 50% 88%;
    filter: drop-shadow(0 12px 24px rgba(18, 42, 98, 0.14));
    animation: about-letter-wave 4.8s ease-in-out infinite;
}

@keyframes about-letter-wave {
    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }
    25% {
        transform: rotate(1.6deg) translateY(-2px);
    }
    50% {
        transform: rotate(-1deg) translateY(0);
    }
    75% {
        transform: rotate(1.8deg) translateY(-3px);
    }
}

.about-letter-body p {
    margin: 0;
    color: var(--amg-steel);
    font-size: 1rem;
    line-height: 1.95;
}

.about-letter-emphasis {
    display: grid;
    gap: 10px;
    padding: 18px 20px 20px;
    border-left: 4px solid rgba(0, 56, 255, 0.5);
    border-radius: 0 20px 20px 0;
    background: linear-gradient(180deg, rgba(244, 247, 255, 0.96), rgba(235, 241, 255, 0.9));
    border: 1px solid rgba(0, 56, 255, 0.1);
}

.about-letter-emphasis strong {
    color: var(--amg-blue-700);
    font-size: 1.03rem;
    line-height: 1.7;
}

.about-letter-emphasis-goal {
    padding-top: 16px;
    padding-bottom: 16px;
}

.about-letter-emphasis-goal strong {
    font-size: 1.08rem;
}

.about-letter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 740px);
    margin: 6px auto 0;
    padding-top: 4px;
    border-top: 1px dashed rgba(0, 56, 255, 0.18);
}

.about-letter-actions .cta-ai-button {
    min-height: 116px;
}

.about-letter-actions .cta-ai-button strong,
.about-letter-actions .cta-ai-button-status {
    font-family: "RIDIBatang", serif;
}

.about-letter-actions .cta-ai-button strong {
    font-size: 1.08rem;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .about-letter {
        padding: 24px 20px;
    }

    .about-letter-header {
        padding-right: 140px;
    }

    .about-letter-avatar-shell {
        top: 10px;
        right: -4px;
    }

    .about-letter-avatar {
        width: clamp(160px, 34vw, 220px);
    }

    .about-letter-actions {
        grid-template-columns: 1fr;
    }
}

.solo-value-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.solo-value-story,
.solo-value-support {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: calc(var(--amg-radius) + 2px);
    border: 1px solid rgba(0, 56, 255, 0.1);
    box-shadow: 0 20px 52px rgba(7, 18, 62, 0.08);
}

.solo-value-story {
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.solo-value-support {
    background:
        radial-gradient(circle at bottom right, rgba(255, 191, 31, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(234, 241, 255, 0.9));
    color: var(--amg-ink);
}

.solo-value-block,
.solo-value-support-head,
.solo-support-item,
.solo-support-note {
    display: grid;
    gap: 10px;
}

.solo-value-story .solo-value-block {
    padding: 28px;
    border-radius: calc(var(--amg-radius) + 2px);
    border: 1px solid rgba(0, 56, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(0, 56, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 242, 255, 0.88));
    box-shadow: 0 20px 52px rgba(7, 18, 62, 0.08);
}

.solo-mini-points {
    display: grid;
    gap: 10px;
}

.solo-mini-points p {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(0, 56, 255, 0.08);
}

.solo-value-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-700);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.solo-value-support .solo-value-label {
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-700);
}

.solo-value-story h3,
.solo-value-support h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.solo-value-story p,
.solo-value-support p {
    margin: 0;
    line-height: 1.85;
}

.solo-value-story p {
    color: var(--amg-steel);
}

.solo-value-support p {
    color: var(--amg-steel);
}

.solo-value-quote {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(0, 56, 255, 0.06);
    color: var(--amg-blue-700) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.solo-support-list {
    display: grid;
    gap: 14px;
}

.solo-support-item {
    padding: 18px 18px 16px;
    border-top: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(0, 56, 255, 0.08);
}

.solo-support-item strong,
.solo-support-note strong {
    font-size: 1.02rem;
    line-height: 1.5;
}

.services-layout {
    display: grid;
    gap: 30px;
    align-items: start;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--amg-line-strong);
    border-bottom: 1px solid var(--amg-line-strong);
}

.service-pillar {
    padding: 28px 24px 24px;
    border-right: 1px solid var(--amg-line);
}

.service-pillar:last-child {
    border-right: 0;
}

.service-pillar span {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--amg-blue-500);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
}

.service-pillar h3 {
    margin: 0;
    font-size: 1.5rem;
}

.service-pillar p {
    margin: 14px 0 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.service-tags li {
    list-style: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 56, 255, 0.06);
    color: var(--amg-blue-700);
    font-size: 0.88rem;
}

.services-board {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: calc(var(--amg-radius) + 2px);
    background:
        radial-gradient(circle at top right, rgba(0, 56, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 242, 255, 0.88));
    border: 1px solid rgba(0, 56, 255, 0.1);
    box-shadow: 0 24px 60px rgba(7, 18, 62, 0.08);
}

.services-board-header {
    display: grid;
    gap: 8px;
}

.services-board-header strong {
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.services-board-header p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.services-board-core,
.services-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.services-board-divider {
    margin: 0;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(0, 56, 255, 0.05);
    color: var(--amg-blue-700);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-board-card {
    display: grid;
    min-height: 164px;
    grid-template-rows: auto 1fr;
    gap: 0;
    padding: 0;
    border-radius: 24px;
    border: 1px solid var(--service-border, rgba(0, 56, 255, 0.14));
    background: #ffffff;
    box-shadow:
        0 14px 30px rgba(7, 18, 62, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.service-board-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.service-board-card p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.service-board-order {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--service-pill-border, rgba(35, 58, 109, 0.14));
    background: var(--service-pill-bg, rgba(255, 255, 255, 0.48));
    color: var(--service-pill-text, rgba(35, 58, 109, 0.86));
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-board-card-core {
    --service-head-bg-start: #dfe8ff;
    --service-head-bg-end: #cfdbff;
    --service-head-text: #294574;
    --service-accent: #7e9dd8;
    --service-accent-deep: #294574;
    --service-border: rgba(96, 126, 183, 0.26);
    --service-soft: rgba(126, 157, 216, 0.12);
    --service-tag-border: rgba(126, 157, 216, 0.24);
    --service-divider: rgba(96, 126, 183, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(41, 69, 116, 0.16);
    --service-pill-text: rgba(41, 69, 116, 0.88);
}

.service-tone-mechanical {
    --service-head-bg-start: #dce9ff;
    --service-head-bg-end: #cbdcff;
    --service-head-text: #284877;
    --service-accent: #7a9bd4;
    --service-accent-deep: #284877;
    --service-border: rgba(91, 126, 187, 0.24);
    --service-soft: rgba(122, 155, 212, 0.12);
    --service-tag-border: rgba(122, 155, 212, 0.24);
    --service-divider: rgba(91, 126, 187, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(40, 72, 119, 0.16);
    --service-pill-text: rgba(40, 72, 119, 0.88);
}

.service-tone-electronics {
    --service-head-bg-start: #e8e1ff;
    --service-head-bg-end: #d9cff9;
    --service-head-text: #514780;
    --service-accent: #9580d2;
    --service-accent-deep: #514780;
    --service-border: rgba(120, 105, 182, 0.24);
    --service-soft: rgba(149, 128, 210, 0.12);
    --service-tag-border: rgba(149, 128, 210, 0.24);
    --service-divider: rgba(120, 105, 182, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.42);
    --service-pill-border: rgba(81, 71, 128, 0.15);
    --service-pill-text: rgba(81, 71, 128, 0.88);
}

.service-tone-software {
    --service-head-bg-start: #d9eef7;
    --service-head-bg-end: #c8e6f3;
    --service-head-text: #1e627d;
    --service-accent: #71afc8;
    --service-accent-deep: #1e627d;
    --service-border: rgba(84, 144, 170, 0.24);
    --service-soft: rgba(113, 175, 200, 0.12);
    --service-tag-border: rgba(113, 175, 200, 0.24);
    --service-divider: rgba(84, 144, 170, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.42);
    --service-pill-border: rgba(30, 98, 125, 0.15);
    --service-pill-text: rgba(30, 98, 125, 0.88);
}

.service-board-card-build {
    --service-head-bg-start: #ffe7d9;
    --service-head-bg-end: #ffd8c5;
    --service-head-text: #91502b;
    --service-accent: #df9f79;
    --service-accent-deep: #91502b;
    --service-border: rgba(185, 113, 72, 0.24);
    --service-soft: rgba(223, 159, 121, 0.12);
    --service-tag-border: rgba(223, 159, 121, 0.24);
    --service-divider: rgba(185, 113, 72, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(145, 80, 43, 0.15);
    --service-pill-text: rgba(145, 80, 43, 0.88);
}

.service-board-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.service-board-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--service-tag-border, rgba(0, 56, 255, 0.1));
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--service-soft, rgba(0, 56, 255, 0.06));
    color: var(--service-accent-deep, var(--amg-blue-700));
}

.services-board-home {
    gap: 22px;
}

.services-card-grid {
    display: grid;
    gap: 14px;
}

.services-card-grid-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-card-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-surface {
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card-surface::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--service-divider, rgba(0, 56, 255, 0.22)), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.service-card-head {
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 18px 20px 16px;
    background: linear-gradient(180deg, var(--service-head-bg-start, #dfe8ff), var(--service-head-bg-end, #cfdbff));
    color: var(--service-head-text, #294574);
    text-align: center;
}

.service-card-head h3 {
    color: inherit;
}

.service-card-head strong {
    margin: 0;
    color: inherit;
    font-size: clamp(1.46rem, 2vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.service-card-body {
    display: grid;
    align-content: start;
    gap: 16px;
    height: 100%;
    padding: 18px 20px 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.98));
}

.service-card-copy {
    display: grid;
    gap: 12px;
    align-content: start;
    justify-items: center;
    text-align: center;
}

.service-card-hover {
    display: grid;
    gap: 5px;
    justify-items: center;
    margin-top: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    padding-top: 0;
    border-top: 1px solid transparent;
    transition:
        max-height 240ms ease,
        opacity 180ms ease,
        transform 220ms ease,
        padding-top 220ms ease,
        border-color 220ms ease;
}

.service-card-hover-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--service-soft, rgba(0, 56, 255, 0.06));
    color: var(--service-accent-deep, var(--amg-blue-700));
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.service-card-hover strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--service-accent-deep, var(--amg-blue-700));
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.service-card-hover strong::after {
    content: "↗";
    font-size: 0.92rem;
}

.services-card-grid-primary .service-card-copy p,
.services-card-grid-secondary .service-card-copy p,
.services-card-grid-primary .service-board-tags {
    transition: opacity 180ms ease, transform 220ms ease;
}

.service-card-link:hover .service-card-surface,
.service-card-link:focus-visible .service-card-surface {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(7, 18, 62, 0.12);
}

.service-card-link:hover .service-card-surface::after,
.service-card-link:focus-visible .service-card-surface::after {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link:hover .service-card-hover,
.service-card-link:focus-visible .service-card-hover {
    max-height: 82px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 14px;
    border-top-color: var(--service-divider, rgba(0, 56, 255, 0.14));
}

.services-card-grid-primary .service-board-card {
    min-height: 316px;
}

.services-card-grid-primary .service-card-head h3 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.services-card-grid-secondary .service-board-compact {
    min-height: 210px;
}

.services-card-grid-secondary .service-card-head strong {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.services-card-grid-secondary .service-card-body {
    justify-items: center;
}

.service-board-order {
    justify-self: center;
}

.service-board-order-light {
    border-color: var(--service-pill-border, rgba(35, 58, 109, 0.14));
    background: var(--service-pill-bg, rgba(255, 255, 255, 0.48));
    color: var(--service-pill-text, rgba(35, 58, 109, 0.86));
}

.service-board-order-support {
    border-color: var(--service-pill-border, rgba(35, 58, 109, 0.14));
    background: var(--service-pill-bg, rgba(255, 255, 255, 0.48));
    color: var(--service-pill-text, rgba(35, 58, 109, 0.86));
}

.service-board-compact {
    display: grid;
    min-height: 100%;
    grid-template-rows: auto 1fr;
    gap: 0;
    padding: 0;
    border-radius: 22px;
    border: 1px solid var(--service-border, rgba(0, 56, 255, 0.12));
    background: #ffffff;
}

.service-board-compact strong {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.service-board-compact p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.7;
}

.service-board-compact-build {
    --service-head-bg-start: #ffe7d9;
    --service-head-bg-end: #ffd8c5;
    --service-head-text: #91502b;
    --service-accent: #df9f79;
    --service-accent-deep: #91502b;
    --service-border: rgba(185, 113, 72, 0.24);
    --service-soft: rgba(223, 159, 121, 0.12);
    --service-tag-border: rgba(223, 159, 121, 0.24);
    --service-divider: rgba(185, 113, 72, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(145, 80, 43, 0.15);
    --service-pill-text: rgba(145, 80, 43, 0.88);
}

.service-board-compact-digital {
    --service-head-bg-start: #e4e7ff;
    --service-head-bg-end: #d8dcff;
    --service-head-text: #495799;
    --service-accent: #8b97df;
    --service-accent-deep: #495799;
    --service-border: rgba(113, 126, 198, 0.24);
    --service-soft: rgba(139, 151, 223, 0.12);
    --service-tag-border: rgba(139, 151, 223, 0.24);
    --service-divider: rgba(113, 126, 198, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(73, 87, 153, 0.15);
    --service-pill-text: rgba(73, 87, 153, 0.88);
}

.service-board-compact-support {
    --service-head-bg-start: #dff3ea;
    --service-head-bg-end: #cfeadf;
    --service-head-text: #236956;
    --service-accent: #75b7a0;
    --service-accent-deep: #236956;
    --service-border: rgba(82, 147, 126, 0.24);
    --service-soft: rgba(117, 183, 160, 0.12);
    --service-tag-border: rgba(117, 183, 160, 0.24);
    --service-divider: rgba(82, 147, 126, 0.18);
    --service-pill-bg: rgba(255, 255, 255, 0.44);
    --service-pill-border: rgba(35, 105, 86, 0.15);
    --service-pill-text: rgba(35, 105, 86, 0.88);
}

.services-board-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.services-board-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.services-board-actions .button-primary {
    background: var(--amg-blue-700);
    color: white;
    box-shadow: 0 16px 32px rgba(0, 56, 255, 0.18);
}

.services-board-actions .button-secondary {
    background: rgba(0, 56, 255, 0.06);
    border-color: rgba(0, 56, 255, 0.14);
    color: var(--amg-blue-700);
}

.services-board-actions-center {
    justify-content: center;
}

@media (hover: none) {
    .service-card-surface::after {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card-hover {
        max-height: 82px;
        opacity: 1;
        transform: translateY(0);
        padding-top: 14px;
        border-top-color: var(--service-divider, rgba(0, 56, 255, 0.14));
    }
}

.service-page-hero {
    padding: 132px 0 32px;
}

.service-page-hero-inner {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 30px;
    align-items: center;
}

.service-page-copy {
    display: grid;
    gap: 18px;
}

.service-page-copy h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.service-page-lead {
    margin: 0;
    max-width: 720px;
    color: var(--amg-steel);
    line-height: 1.8;
}

.service-page-lead a,
.service-source-note a {
    color: var(--amg-blue-700);
    font-weight: 700;
}

.service-page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.service-page-badges li {
    list-style: none;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 56, 255, 0.06);
    color: var(--amg-blue-700);
    font-size: 0.9rem;
    font-weight: 700;
}

.service-page-visual {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
    gap: 16px;
    align-items: stretch;
}

.service-page-stack {
    display: grid;
    gap: 16px;
}

.service-page-frame {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 30px;
    border: 1px solid rgba(0, 56, 255, 0.12);
    background: #dce7ff;
    box-shadow: 0 24px 60px rgba(7, 18, 62, 0.12);
}

.service-page-frame-main {
    min-height: 100%;
}

.service-page-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 68, 0.08), rgba(8, 20, 68, 0.48));
}

.service-page-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-page-frame figcaption {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 1;
    display: grid;
    gap: 4px;
}

.service-page-frame figcaption span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-page-frame figcaption strong {
    color: white;
    font-size: 1.1rem;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.service-page-section {
    padding-top: 92px;
}

.services-board-page {
    gap: 24px;
}

.service-catalog-groups {
    display: grid;
    gap: 18px;
}

.service-catalog-group {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: calc(var(--amg-radius) + 2px);
    border: 1px solid rgba(0, 56, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(0, 56, 255, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 242, 255, 0.88));
    box-shadow: 0 24px 60px rgba(7, 18, 62, 0.08);
}

.service-catalog-head {
    display: grid;
    gap: 8px;
}

.service-catalog-head span {
    color: var(--amg-blue-500);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-catalog-head h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 1.72rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.service-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-catalog-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(0, 56, 255, 0.09);
    background: rgba(255, 255, 255, 0.8);
}

.service-catalog-card-media {
    margin: 0;
    overflow: hidden;
    min-height: 180px;
    border-radius: 18px;
    background: rgba(216, 228, 255, 0.92);
}

.service-catalog-card-media img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

@media (min-width: 1280px) {
    .service-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .service-catalog-card {
        gap: 8px;
        padding: 14px;
        border-radius: 18px;
    }

    .service-catalog-card-media {
        min-height: 132px;
        border-radius: 14px;
    }

    .service-catalog-card-media img {
        min-height: 132px;
    }

    .service-catalog-card h4 {
        font-size: 0.98rem;
        line-height: 1.32;
    }

    .service-catalog-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

.service-catalog-card-media-fallback {
    display: grid;
    align-content: end;
    gap: 6px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(22, 33, 64, 0.22), rgba(22, 33, 64, 0.52)),
        linear-gradient(135deg, rgba(188, 195, 214, 0.9), rgba(116, 127, 150, 0.92));
    color: white;
}

.service-catalog-card-media-fallback span {
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-catalog-card-media-fallback strong {
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.service-catalog-card h4 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.service-catalog-card p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.service-catalog-note {
    margin-top: 18px;
    display: grid;
    gap: 10px;
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(0, 56, 255, 0.06);
}

.service-catalog-note strong {
    color: var(--amg-blue-700);
    font-size: 1.02rem;
    line-height: 1.45;
}

.service-catalog-note p,
.service-source-note {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.8;
}

.service-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-scenario {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(0, 56, 255, 0.1);
    background:
        radial-gradient(circle at top left, rgba(255, 191, 31, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 242, 255, 0.9));
}

.service-scenario span {
    color: var(--amg-blue-500);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-scenario h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.service-scenario p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.service-source-note {
    text-align: center;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 34px;
    align-items: center;
}

.process-steps {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: 28px 0 0;
}

.process-steps li {
    list-style: none;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--amg-line);
}

.process-steps strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-700);
    font-family: "EliceDigitalCodingverH_Regular", monospace;
}

.process-steps h3 {
    margin: 4px 0 8px;
    font-size: 1.2rem;
}

.process-steps p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.75;
}

.process-visual {
    display: grid;
    gap: 18px;
}

.process-visual img {
    border-radius: var(--amg-radius);
    border: 1px solid rgba(0, 56, 255, 0.12);
    box-shadow: 0 24px 60px rgba(7, 18, 62, 0.1);
}

.portfolio-list {
    display: grid;
    gap: 18px;
}

.portfolio-item {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    min-height: 360px;
    overflow: hidden;
    border-radius: calc(var(--amg-radius) + 4px);
    border: 1px solid rgba(0, 56, 255, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 60px rgba(7, 18, 62, 0.08);
}

.portfolio-item:nth-child(even) {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.portfolio-item:nth-child(even) .portfolio-media {
    order: 2;
}

.portfolio-item:nth-child(even) .portfolio-copy {
    order: 1;
}

.portfolio-media {
    overflow: hidden;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.portfolio-item:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(24px, 3vw, 38px);
}

.portfolio-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-700);
    font-size: 0.84rem;
}

.portfolio-copy h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.08;
}

.portfolio-copy p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.8;
}

.portfolio-copy ul {
    margin: 0;
    padding-left: 18px;
    color: var(--amg-steel);
    line-height: 1.7;
}

.portfolio-list {
    display: none;
}

.portfolio-spotlight {
    display: grid;
    gap: 18px;
}

#portfolio .section-head {
    gap: 12px;
    margin-bottom: 28px;
}

#portfolio .section-head h2 {
    font-size: clamp(2.8rem, 5.2vw, 4.4rem);
    line-height: 0.98;
}

#portfolio .section-head p {
    max-width: 860px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.portfolio-stage {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(420px, 1.1fr);
    align-items: stretch;
    gap: 16px;
    min-height: auto;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 56, 255, 0.12);
    border-radius: calc(var(--amg-radius) + 10px);
    background:
        radial-gradient(circle at top left, rgba(0, 56, 255, 0.15), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 238, 255, 0.88));
    box-shadow: 0 32px 90px rgba(5, 20, 86, 0.12);
}

.portfolio-visual-stack {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: auto;
    overflow: hidden;
    border-radius: 26px;
    background: transparent;
    isolation: isolate;
}

.portfolio-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.03);
    transition:
        opacity 420ms ease,
        transform 420ms ease;
    pointer-events: none;
}

.portfolio-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-visual-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 19, 39, 0) 56%, rgba(9, 19, 39, 0.14) 100%);
    z-index: 1;
    pointer-events: none;
}

.portfolio-visual-badge {
    position: absolute;
    left: clamp(18px, 2.3vw, 28px);
    right: clamp(18px, 2.3vw, 28px);
    bottom: clamp(16px, 2vw, 24px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portfolio-visual-badge::before {
    content: "";
    position: absolute;
    inset: auto 0 -12px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.portfolio-stage-count {
    font-family: var(--amg-font-label);
    font-size: 0.92rem;
    letter-spacing: 0.16em;
}

.portfolio-stage-copy {
    display: grid;
    align-content: start;
    min-width: 0;
    gap: 16px;
    padding: clamp(8px, 1.2vw, 16px) clamp(6px, 0.8vw, 12px) clamp(8px, 1.2vw, 14px) 0;
}

.portfolio-stage-head {
    display: grid;
    gap: 0;
}

.portfolio-stage-title {
    margin: 0;
    font-size: clamp(1.58rem, 2.15vw, 2.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: none;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
}

.portfolio-stage-summary {
    margin: 0;
    color: var(--amg-steel);
    font-size: 0.92rem;
    line-height: 1.62;
    max-width: 58ch;
}

.portfolio-stage-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.portfolio-stage-meta-item {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 56, 255, 0.08);
}

.portfolio-stage-meta-item span {
    color: var(--amg-blue-600);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-stage-meta-item strong {
    font-size: 0.9rem;
    line-height: 1.42;
}

.portfolio-stage-points {
    margin: 0;
    padding: 14px 16px;
    list-style: none;
    display: grid;
    gap: 6px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 247, 255, 0.82));
    border: 1px solid rgba(0, 56, 255, 0.08);
}

.portfolio-stage-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--amg-ink);
    font-size: 0.92rem;
    line-height: 1.5;
}

.portfolio-stage-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    margin-top: 0.42rem;
    background: var(--amg-gradient);
    box-shadow: 0 0 0 5px rgba(0, 56, 255, 0.09);
}

.portfolio-selector {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.portfolio-selector-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 56, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.portfolio-selector-item:hover,
.portfolio-selector-item:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(0, 56, 255, 0.28);
    box-shadow: 0 20px 40px rgba(0, 30, 120, 0.08);
}

.portfolio-selector-item.is-active {
    border-color: rgba(0, 56, 255, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 238, 255, 0.94));
    box-shadow: 0 20px 44px rgba(0, 30, 120, 0.12);
}

.portfolio-selector-index {
    color: rgba(0, 8, 162, 0.34);
    font-family: var(--amg-font-label);
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.portfolio-selector-copy {
    display: grid;
    gap: 4px;
}

.portfolio-selector-copy strong {
    font-size: 0.88rem;
    line-height: 1.38;
}

.portfolio-selector-copy span {
    color: var(--amg-steel);
    font-size: 0.76rem;
    line-height: 1.4;
}

.insight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.insight-item {
    padding: 22px 24px;
    min-height: 100%;
    border: 1px solid var(--amg-line-strong);
    border-radius: calc(var(--amg-radius) - 2px);
    background:
        radial-gradient(circle at top right, rgba(0, 56, 255, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(231, 238, 255, 0.7));
    box-shadow: 0 22px 54px rgba(0, 24, 122, 0.12);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.insight-channel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    overflow: hidden;
    text-decoration: none;
}

.insight-channel::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 56, 255, 0.14), rgba(0, 56, 255, 0));
    pointer-events: none;
}

.insight-channel:hover,
.insight-channel:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(0, 56, 255, 0.34);
    box-shadow: 0 30px 70px rgba(0, 24, 122, 0.18);
}

.insight-channel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.insight-channel-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-600);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.insight-item h3 {
    margin: 0;
    font-size: clamp(1.18rem, 1.5vw, 1.36rem);
    line-height: 1.2;
}

.insight-item p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.6;
}

.insight-channel-linkrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: auto;
    padding-top: 6px;
}

.insight-channel-link {
    color: var(--amg-blue-700);
    font-size: 0.95rem;
    word-break: break-all;
}

.insight-channel-hover {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--amg-blue-600);
    font-size: 0.88rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.insight-channel:hover .insight-channel-hover,
.insight-channel:focus-visible .insight-channel-hover {
    opacity: 1;
    transform: translateX(0);
}

.intro-video-section {
    display: grid;
    gap: 28px;
}

.intro-video-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(0, 56, 255, 0.12);
    border-radius: calc(var(--amg-radius) + 2px);
    background: #07122e;
    box-shadow: 0 28px 72px rgba(0, 24, 122, 0.18);
}

.intro-video-shell iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-section {
    width: min(1240px, calc(100% - 40px));
    margin: 112px auto 0;
    padding: clamp(28px, 4vw, 46px);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), var(--amg-gradient);
    color: white;
    box-shadow: 0 32px 90px rgba(0, 24, 122, 0.24);
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: center;
}

.cta-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 100%;
    padding-left: clamp(14px, 3vw, 44px);
}

.cta-section h2 {
    margin: 0;
    font-family: "KOHIBaeum", serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.cta-section p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.cta-info {
    display: grid;
    gap: 14px;
    justify-items: start;
    align-content: center;
}

.location-section {
    padding-bottom: 42px;
}

.location-section .section-head p {
    max-width: none;
}

.location-office-switch-shell {
    width: min(680px, 100%);
    margin: 26px 0 22px;
    padding: 8px;
    border: 1px solid rgba(0, 56, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 46px rgba(14, 30, 86, 0.08);
}

.location-office-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.location-office-button {
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--amg-ink);
    font-family: "RIDIBatang", serif;
    font-size: clamp(1.05rem, 3vw, 1.55rem);
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.location-office-button.is-active {
    color: white;
    background: linear-gradient(135deg, var(--amg-blue-600), #008f8a);
    box-shadow: 0 12px 24px rgba(0, 56, 255, 0.18);
    transform: translateY(-1px);
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.location-map-panel,
.location-card {
    background: white;
    border: 1px solid rgba(0, 56, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 22px 52px rgba(14, 30, 86, 0.08);
}

.location-map-panel {
    padding: 14px;
}

.location-map-surface {
    display: grid;
    gap: 20px;
    min-height: 420px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 230, 0, 0.26), transparent 28%),
        linear-gradient(145deg, rgba(0, 45, 186, 0.98), rgba(0, 88, 255, 0.9) 58%, rgba(10, 22, 60, 0.96));
    color: white;
    align-content: start;
}

.location-google-map-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 12, 54, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.location-google-map-frame iframe {
    display: block;
    width: 100%;
    height: 240px;
    border: 0;
}

.location-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.location-service-button {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 32px rgba(0, 12, 54, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.location-service-button:hover,
.location-service-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 12, 54, 0.22);
    border-color: rgba(255, 255, 255, 0.3);
}

.location-service-button-naver {
    background: linear-gradient(180deg, rgba(3, 199, 90, 0.96), rgba(0, 164, 74, 0.94));
}

.location-service-button-kakao {
    background: linear-gradient(180deg, rgba(255, 229, 0, 0.96), rgba(255, 214, 0, 0.94));
    color: #1f1a00;
}

.location-service-name {
    font-family: "RIDIBatang", serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.82;
}

.location-service-button strong {
    font-family: "RIDIBatang", serif;
    font-size: 1.04rem;
    line-height: 1.35;
}

.location-note {
    margin: 14px 4px 4px;
    color: var(--amg-steel);
    font-size: 0.95rem;
    line-height: 1.7;
}

.location-cards {
    display: grid;
    gap: 12px;
    align-content: start;
    align-self: start;
}

.location-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 148px);
    gap: 18px;
    align-items: start;
    padding: 16px 18px;
}

.location-card-primary {
    background: linear-gradient(180deg, rgba(238, 243, 255, 0.88), #ffffff 42%);
}

.location-card-head {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.location-card-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 56, 255, 0.08);
    color: var(--amg-blue-700);
    font-family: "RIDIBatang", serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-card p {
    margin: 0;
    color: var(--amg-steel);
    line-height: 1.7;
}

.location-address {
    min-height: 0;
    font-size: 0.96rem;
    color: var(--amg-ink);
    line-height: 1.55;
}

.location-postal {
    font-size: 0.84rem;
    color: rgba(52, 73, 116, 0.78);
    line-height: 1.45;
}

.location-card-note {
    font-size: 0.84rem;
    line-height: 1.52;
}

.location-card-note-list {
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    color: var(--amg-steel);
    font-size: 0.84rem;
    line-height: 1.55;
}

.location-card-note-list li {
    position: relative;
    padding-left: 1.1rem;
}

.location-card-note-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--amg-blue-700);
    font-size: 0.72rem;
    line-height: 1.8;
}

.location-pending-link {
    color: var(--amg-blue-700);
    font-weight: 700;
}

.location-highlight {
    display: inline;
    padding: 0 0.28em;
    border-radius: 0.4em;
    background: linear-gradient(180deg, rgba(255, 196, 64, 0) 18%, rgba(255, 211, 92, 0.46) 18%, rgba(255, 162, 58, 0.5) 92%, rgba(255, 162, 58, 0) 92%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.location-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: stretch;
    margin-top: 0;
    padding-top: 0;
    align-self: start;
}

.location-actions .button-primary {
    background: var(--amg-blue-700);
    color: white;
    box-shadow: 0 14px 30px rgba(0, 56, 255, 0.16);
}

.location-actions .button-primary,
.location-actions .button-secondary {
    min-height: 38px;
    width: 100%;
    padding: 0 14px;
    font-size: 0.92rem;
}

.location-actions .button-secondary {
    background: rgba(0, 56, 255, 0.06);
    border-color: rgba(0, 56, 255, 0.12);
    color: var(--amg-blue-700);
}

.location-office-card[hidden] {
    display: none;
}

.cta-meta {
    display: grid;
    gap: 8px;
}

.cta-meta strong {
    font-size: 1rem;
}

.cta-meta span {
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--amg-font-label);
    letter-spacing: 0.04em;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.contact-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.contact-action-primary {
    background: white;
    color: var(--amg-blue-700);
    box-shadow: 0 16px 42px rgba(6, 17, 68, 0.24);
}

.contact-action-primary:hover,
.contact-action-primary:focus-visible {
    transform: translateY(-2px);
}

.contact-action-disabled {
    overflow: hidden;
    background: linear-gradient(135deg, rgba(106, 114, 129, 0.95) 0%, rgba(130, 138, 153, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    cursor: not-allowed;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.contact-action-disabled strong {
    transition: opacity 180ms ease;
}

.contact-action-note {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 246, 214, 0.96);
    color: #8a5600;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.96);
    box-shadow: 0 10px 24px rgba(68, 42, 6, 0.18);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.contact-action-disabled:hover strong,
.contact-action-disabled:focus-visible strong {
    opacity: 0.18;
}

.contact-action-disabled:hover .contact-action-note,
.contact-action-disabled:focus-visible .contact-action-note {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.footer {
    width: min(1240px, calc(100% - 40px));
    margin: 42px auto 0;
    padding: 0 0 40px;
    color: var(--amg-steel);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1100px) {
    .hero-inner,
    .about-letter-header,
    .solo-value-panel,
    .process-layout,
    .cta-grid,
    .intro-ribbon,
    .location-layout,
    .service-page-hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-headline {
        white-space: normal;
    }

    .cta-ai-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-ai-intro {
        width: 100%;
        padding: 4px 2px 0;
    }

    .cta-ai-links {
        grid-template-columns: 1fr;
    }

    .cta-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-board-core,
    .services-board-grid,
    .services-card-grid-primary,
    .services-card-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-board-summary,
    .service-scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-page-visual,
    .service-catalog-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .portfolio-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(even) .portfolio-media,
    .portfolio-item:nth-child(even) .portfolio-copy {
        order: unset;
    }

    .portfolio-media {
        min-height: 260px;
    }
}

@media (max-width: 1180px) {
    .portfolio-stage {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .portfolio-visual-stack {
        min-height: 360px;
    }

    .portfolio-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .service-columns,
    .insight-list,
    .hero-metrics,
    .services-board-core,
    .services-board-grid,
    .services-card-grid-primary,
    .services-card-grid-secondary,
    .services-board-summary,
    .service-scenario-grid,
    .service-catalog-grid {
        grid-template-columns: 1fr;
    }

    .service-pillar,
    .insight-item {
        border-right: 0;
    }

    .insight-item:last-child,
    .service-pillar:last-child {
        border-bottom: 0;
    }

    .insight-item {
        padding: 20px;
    }

    .insight-channel-linkrow {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 28px;
    }

    .home-section-nav-shell {
        top: auto;
        bottom: 18px;
        left: 14px;
        right: 14px;
        transform: none;
    }

    .home-section-nav {
        width: min(100%, 100%);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .home-section-nav a {
        text-align: center;
    }

    .home-section-nav a::after {
        top: auto;
        bottom: 6px;
        left: 12px;
        width: calc(100% - 24px);
        height: 2px;
        transform: scaleX(0);
        transform-origin: center;
    }

    .home-section-nav a:hover,
    .home-section-nav a:focus-visible {
        transform: none;
    }

    .home-section-nav a:hover::after,
    .home-section-nav a:focus-visible::after,
    .home-section-nav a[aria-current="true"]::after {
        transform: scaleX(1);
    }

    .hero-visual {
        min-height: 460px;
    }

    .location-map-surface {
        min-height: auto;
    }

    .location-google-map-frame iframe {
        height: 220px;
    }

    .location-service-grid {
        grid-template-columns: 1fr;
    }

    .services-board {
        padding: 20px;
    }

    .service-page-hero {
        padding-top: 118px;
    }

    .service-page-visual {
        grid-template-columns: 1fr;
    }

    .cta-copy {
        padding-left: 0;
    }

    .location-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .location-actions {
        justify-content: flex-start;
    }

    .portfolio-stage {
        min-height: auto;
    }

    .portfolio-stage-copy {
        gap: 18px;
        padding: 18px 8px 8px;
    }

    .portfolio-stage-meta,
    .portfolio-selector {
        grid-template-columns: 1fr;
    }

    .portfolio-selector-item {
        padding: 14px 16px;
    }

}

@media (max-width: 640px) {
    .hero-showcase {
        width: 100%;
    }

    .showcase-caption {
        width: 100%;
        min-height: auto;
    }

    .section,
    .cta-section {
        padding-top: 84px;
    }

    .intro-ribbon {
        margin-top: -36px;
        padding: 22px;
    }

    .cta-band {
        padding-top: 22px;
    }

    .cta-inner {
        width: min(100%, calc(100% - 32px));
    }

    .cta-ai-strip {
        padding: 14px;
        gap: 12px;
    }

    .cta-ai-copy strong {
        font-size: 1.22rem;
    }

    .cta-ai-button {
        min-height: 94px;
        padding: 14px 18px;
    }

    .cta-ai-button-status {
        min-height: 24px;
        padding: 0 9px;
        font-size: 0.62rem;
    }

    .contact-actions {
        width: 100%;
    }

    .contact-action {
        flex: 1 1 100%;
    }

    .cta-ai-hover-note {
        display: none;
    }

    .cta-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cta-links a {
        min-height: 88px;
    }

    .services-board {
        padding: 16px;
        border-radius: 24px;
    }

    .services-board-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-board-compact,
    .service-catalog-group,
    .service-scenario {
        border-radius: 20px;
    }

    .service-card-head,
    .service-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .service-catalog-card-media,
    .service-catalog-card-media img {
        min-height: 160px;
    }

    .solo-value-story,
    .solo-value-support {
        padding: 20px;
        border-radius: 24px;
    }

    .solo-value-story {
        padding: 0;
        border-radius: 0;
    }

    .solo-value-story .solo-value-block {
        padding: 20px;
        border-radius: 24px;
    }

    .solo-value-story h3,
    .solo-value-support h3 {
        font-size: 1.18rem;
    }

    .solo-value-quote,
    .solo-support-note {
        padding: 16px;
    }

    .services-board-header strong {
        font-size: 1.06rem;
    }

    .section-head-main {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 14px;
    }

    .services-head-action {
        justify-self: start;
        min-height: 56px;
        padding: 0 24px;
        font-size: 0.98rem;
    }

    .services-board-divider {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .service-board-card {
        min-height: auto;
    }

    .service-card-hover {
        gap: 4px;
    }

    .service-card-head h3,
    .service-card-head strong {
        font-size: 1.52rem;
    }

    .service-page-hero {
        padding-top: 108px;
    }

    .service-page-hero-inner {
        width: min(100%, calc(100% - 32px));
    }

    .service-page-copy h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .service-page-frame {
        min-height: 220px;
        border-radius: 24px;
    }

    .service-board-tags span {
        min-height: 32px;
        font-size: 0.8rem;
    }

    .about-letter,
    .cta-section {
        border-radius: 24px;
    }

    .hero-service-line {
        font-size: 1rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 5.6vw, 2.55rem);
    }

    .hero-brand-banner {
        min-height: 72px;
        margin: 20px 0 24px;
        padding: 8px 16px 10px;
        font-size: clamp(2.35rem, 11vw, 4rem);
        white-space: normal;
    }

    .portfolio-spotlight {
        gap: 16px;
    }

    .portfolio-stage {
        border-radius: 28px;
    }

    .portfolio-visual-stack {
        min-height: 220px;
        border-radius: 22px;
    }

    .portfolio-visual-badge {
        left: 18px;
        right: 18px;
        bottom: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .portfolio-stage-title {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
    }

    .portfolio-stage-summary,
    .portfolio-stage-meta-item strong,
    .portfolio-selector-copy strong {
        font-size: 0.96rem;
    }

    .portfolio-selector-index {
        font-size: 1.2rem;
    }

    .cta-copy {
        justify-items: center;
        text-align: center;
    }

    .location-card {
        padding: 16px;
        border-radius: 22px;
    }

    .location-card-label {
        font-size: 0.72rem;
    }

    .location-actions .button-primary,
    .location-actions .button-secondary {
        min-height: 38px;
        padding: 0 16px;
    }
}

.service-directory-page,
.service-detail-page {
    background:
        radial-gradient(circle at top left, rgba(71, 117, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #eff4ff 0%, #f7f9ff 48%, #eef3ff 100%);
}

.service-directory-hero,
.service-detail-hero {
    position: relative;
    overflow: hidden;
    margin: 24px clamp(20px, 3vw, 40px) 0;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(111, 148, 255, 0.34);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(15, 33, 82, 0.98) 0%, rgba(19, 57, 143, 0.96) 58%, rgba(49, 126, 226, 0.96) 100%);
    box-shadow: 0 30px 70px rgba(18, 36, 84, 0.18);
    color: #f6f8ff;
}

.service-directory-hero::before,
.service-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 74px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 74px);
    opacity: 0.28;
    pointer-events: none;
}

.service-directory-hero-inner,
.service-detail-hero-inner {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.service-directory-hero-copy,
.service-detail-copy {
    position: relative;
    z-index: 1;
}

.service-directory-hero-copy h1,
.service-detail-copy h1 {
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.05em;
    line-height: 1.08;
    text-wrap: balance;
}

.service-directory-hero-copy h1 {
    font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.service-detail-copy h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.service-directory-hero-copy p,
.service-detail-lead {
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(238, 244, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-directory-page .service-directory-hero-copy p,
.service-directory-page .service-directory-feature-copy span,
.service-directory-page .service-directory-feature-copy p,
.service-directory-page .service-directory-overview-grid span,
.service-directory-page .service-directory-overview-grid article p,
.service-directory-page .service-directory-group-head .section-kicker,
.service-directory-page .service-directory-group-head p,
.service-directory-page .service-directory-card p,
.service-directory-page .service-directory-card-tags li,
.service-directory-page .service-directory-cta-inner .section-kicker,
.service-directory-page .service-directory-cta-inner p,
.service-directory-page .hero-actions a,
.service-detail-page .section-kicker,
.service-detail-page .service-detail-lead,
.service-detail-page .service-page-badges li,
.service-detail-page .service-detail-list li,
.service-detail-page .service-detail-flow li,
.service-detail-page .service-detail-support-card p,
.service-detail-page .service-detail-related .section-head p,
.service-detail-page .service-directory-card p,
.service-detail-page .hero-actions a,
.service-detail-page .service-media-fallback span {
    font-family: "HanSantteutDotum-Regular", "Malgun Gothic", sans-serif;
}

.service-directory-page .service-directory-card-hover::before {
    font-family: "HanSantteutDotum-Regular", "Malgun Gothic", sans-serif;
}

.service-directory-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.service-directory-feature-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    min-height: 188px;
    border: 1px solid rgba(180, 204, 255, 0.28);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(243, 247, 255, 0.12), rgba(242, 246, 255, 0.08));
    text-decoration: none;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-directory-feature-card:hover,
.service-directory-feature-card:focus-visible,
.service-directory-card:hover,
.service-directory-card:focus-visible,
.service-detail-related-grid .service-directory-card:hover,
.service-detail-related-grid .service-directory-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(194, 214, 255, 0.56);
    box-shadow: 0 22px 44px rgba(12, 27, 66, 0.16);
}

.service-directory-feature-media,
.service-directory-card-media,
.service-detail-media {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(224, 231, 255, 0.82), rgba(245, 248, 255, 0.92));
}

.service-directory-feature-media {
    min-height: 212px;
}

.service-directory-card-media {
    min-height: 230px;
    border-radius: 22px;
}

.service-directory-feature-media img,
.service-directory-card-media img,
.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-directory-feature-copy {
    display: grid;
    gap: 10px;
    padding: 20px 22px 24px;
}

.service-directory-feature-copy span,
.service-directory-card-id,
.service-directory-overview-grid span,
.service-media-fallback span {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.service-directory-feature-copy span {
    color: rgba(203, 221, 255, 0.88);
}

.service-directory-feature-copy strong {
    font-size: 1.55rem;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.18;
}

.service-directory-feature-copy p {
    margin: 0;
    color: rgba(232, 240, 255, 0.82);
    line-height: 1.7;
}

.service-directory-overview {
    padding-top: 42px;
}

.service-directory-overview-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-directory-overview-grid article,
.service-detail-panel,
.service-detail-support-card {
    padding: 24px;
    border: 1px solid rgba(122, 151, 233, 0.22);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.96));
    box-shadow: 0 18px 38px rgba(28, 46, 98, 0.08);
}

.service-directory-overview-grid article strong {
    display: block;
    margin-top: 14px;
    color: #0b1c46;
    font-size: 1.42rem;
    letter-spacing: -0.04em;
}

.service-directory-overview-grid article p {
    margin: 14px 0 0;
    color: #445682;
    line-height: 1.8;
}

.service-directory-group {
    margin-top: 26px;
}

.service-directory-group-head {
    margin-bottom: 22px;
}

.service-directory-grid,
.service-detail-related-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-directory-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(122, 151, 233, 0.22);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.98));
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(28, 46, 98, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-directory-card-copy {
    display: grid;
    gap: 10px;
}

.service-directory-card-id {
    display: none;
}

.service-directory-card h3 {
    margin: 0;
    color: #08162f;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
    line-height: 1.18;
}

.service-directory-card p {
    margin: 0;
    color: #4a5f8d;
    line-height: 1.78;
}

.service-directory-card-hover {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(8, 22, 47, 0.82);
    color: #f7fbff;
    font-size: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.24s ease, transform 0.24s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.service-directory-card-hover::before {
    content: "\C0C1\C138\0020\C11C\BE44\C2A4\0020\BCF4\AE30";
    font-size: 0.88rem;
}

.service-directory-card-hover::after {
    content: "\2197";
    font-size: 0.92rem;
}

.service-directory-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 22, 47, 0.04), rgba(8, 22, 47, 0.44));
    opacity: 0;
    transition: opacity 0.24s ease;
}

.service-directory-card:hover .service-directory-card-media::after,
.service-directory-card:focus-visible .service-directory-card-media::after {
    opacity: 1;
}

.service-directory-card:hover .service-directory-card-hover,
.service-directory-card:focus-visible .service-directory-card-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-directory-card:hover .service-directory-card-media img,
.service-directory-card:focus-visible .service-directory-card-media img {
    transform: scale(1.03);
}

.service-directory-card-tags,
.service-detail-list,
.service-detail-flow {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-directory-card-tags {
    display: none;
}

.service-directory-card-tags li,
.service-page-badges li {
    padding: 9px 14px;
    border: 1px solid rgba(135, 162, 235, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #28428a;
    font-size: 0.92rem;
    font-weight: 700;
}

.service-directory-card-link {
    display: none;
}

@media (min-width: 1280px) {
    .service-directory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .service-directory-card {
        gap: 12px;
        padding: 14px;
        border-radius: 22px;
    }

    .service-directory-card-media {
        min-height: 168px;
        border-radius: 18px;
    }

    .service-directory-card h3 {
        font-size: 1.22rem;
        line-height: 1.28;
    }

    .service-directory-card p {
        font-size: 0.94rem;
        line-height: 1.62;
    }
}

.service-directory-cta {
    padding-bottom: 68px;
}

.service-directory-cta-inner {
    padding: clamp(28px, 4vw, 40px);
    border: 1px solid rgba(122, 151, 233, 0.2);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 247, 255, 0.98));
    box-shadow: 0 22px 42px rgba(28, 46, 98, 0.08);
}

.service-directory-cta-inner h2,
.service-detail-panel h2,
.service-detail-support-card h2 {
    margin: 0;
    color: #08162f;
    letter-spacing: -0.04em;
    line-height: 1.18;
    text-wrap: balance;
}

.service-directory-cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.service-directory-cta-inner p,
.service-detail-support-card p {
    margin: 14px 0 0;
    color: #4a5f8d;
    line-height: 1.8;
}

.service-detail-shell,
.service-detail-support,
.service-detail-related {
    margin-top: 24px;
}

.service-detail-media {
    min-height: 440px;
    border: 1px solid rgba(185, 204, 255, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(222, 233, 255, 0.09));
}

.service-detail-panels {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-panel h2,
.service-detail-support-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.service-detail-list,
.service-detail-flow {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.service-detail-list li,
.service-detail-flow li {
    position: relative;
    padding: 0 0 0 22px;
    color: #30466f;
    line-height: 1.8;
}

.service-detail-list li::before,
.service-detail-flow li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3669eb;
}

.service-detail-flow {
    counter-reset: detail-step;
}

.service-detail-flow li {
    padding-left: 48px;
}

.service-detail-flow li::before {
    content: counter(detail-step, decimal-leading-zero);
    counter-increment: detail-step;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(54, 105, 235, 0.12);
    color: #2851ca;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 32px;
    text-align: center;
}

.service-detail-support-card {
    display: grid;
    gap: 8px;
}

.service-media-fallback {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 100%;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(55, 69, 101, 0.88), rgba(81, 97, 136, 0.92));
    text-align: center;
}

.service-directory-card .service-media-fallback {
    min-height: 230px;
}

.service-detail-media .service-media-fallback {
    min-height: 440px;
}

.service-media-fallback strong {
    color: #ffffff;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.service-media-fallback span {
    color: rgba(233, 240, 255, 0.75);
}

@media (max-width: 1180px) {
    .service-directory-hero-inner,
    .service-detail-hero-inner,
    .service-detail-panels {
        grid-template-columns: 1fr;
    }

    .service-directory-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .service-directory-hero,
    .service-detail-hero {
        margin-inline: 18px;
        border-radius: 28px;
    }

    .service-directory-feature-grid,
    .service-directory-grid,
    .service-detail-related-grid,
    .service-directory-overview-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-media {
        min-height: 300px;
    }

    .service-detail-media .service-media-fallback {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .service-directory-hero,
    .service-detail-hero {
        padding: 24px 18px;
        margin-inline: 14px;
        margin-top: 18px;
    }

    .service-directory-hero-copy h1 {
        font-size: clamp(2.05rem, 10vw, 2.9rem);
    }

    .service-detail-copy h1 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .service-directory-card {
        padding: 14px;
        border-radius: 22px;
    }

    .service-directory-card h3 {
        font-size: 1.42rem;
    }

    .service-directory-feature-media {
        min-height: 170px;
    }

    .service-directory-card-media {
        min-height: 190px;
    }

    .service-directory-card-hover {
        right: 14px;
        bottom: 14px;
        padding: 9px 13px;
    }

    .service-directory-card-hover::before {
        font-size: 0.8rem;
    }

    .service-directory-card-tags li,
    .service-page-badges li {
        font-size: 0.84rem;
        padding: 8px 12px;
    }

    .service-detail-flow li {
        padding-left: 42px;
    }

    .service-detail-flow li::before {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
}

