/* Web design */
.web-hero-visual {
    position: relative;
    min-height: 560px;
}

.browser-window {
    position: absolute;
    inset: 28px 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 20, .12);
    border-radius: 26px;
    background: #17171b;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

.browser-bar {
    display: flex;
    height: 54px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .26);
}

.browser-url {
    width: 55%;
    height: 24px;
    margin-left: 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
}

.code-screen {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 460px;
}

.code-sidebar {
    padding: 22px 15px;
    border-right: 1px solid rgba(255, 255, 255, .09);
}

.code-sidebar span,
.code-lines span {
    display: block;
    height: 7px;
    margin-bottom: 15px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .11);
}

.code-sidebar span:nth-child(2n) {
    width: 70%;
}

.code-lines {
    position: relative;
    padding: 36px;
}

.code-lines span:nth-child(1) { width: 36%; background: rgba(225, 29, 46, .82); }
.code-lines span:nth-child(2) { width: 72%; }
.code-lines span:nth-child(3) { width: 52%; }
.code-lines span:nth-child(4) { width: 82%; background: rgba(225, 29, 46, .38); }
.code-lines span:nth-child(5) { width: 63%; }
.code-lines span:nth-child(6) { width: 42%; }
.code-lines span:nth-child(7) { width: 75%; }

.code-preview-card {
    position: absolute;
    right: 24px;
    bottom: 26px;
    width: 60%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.preview-kicker {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
}

.preview-title {
    width: 76%;
    height: 18px;
    margin: 16px 0 11px;
    border-radius: 5px;
    background: var(--white);
}

.preview-copy {
    width: 58%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .34);
}

.visual-chip {
    position: absolute;
    z-index: 2;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 50px rgba(17, 17, 20, .12);
    font-size: .8rem;
    font-weight: 700;
}

.visual-chip.top {
    top: 0;
    right: -12px;
}

.visual-chip.bottom {
    bottom: 0;
    left: -10px;
}

/* Graphic design */
.design-hero {
    background: #f1eee9;
}

.design-canvas {
    position: relative;
    min-height: 610px;
}

.poster {
    position: absolute;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 25px 70px rgba(17, 17, 20, .18);
}

.poster-main {
    inset: 28px 38px 28px 0;
    display: grid;
    align-content: space-between;
    padding: 34px;
    background: var(--ink);
    color: var(--white);
    transform: rotate(-2deg);
}

.poster-main::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 26%, rgba(225, 29, 46, .94) 0 12%, transparent 12.5%),
        radial-gradient(circle at 76% 26%, transparent 0 24%, rgba(225, 29, 46, .34) 24.5% 25%, transparent 25.5%),
        linear-gradient(125deg, transparent 48%, rgba(255, 255, 255, .08) 48.5%, transparent 49%);
    content: "";
}

.poster-main > * {
    position: relative;
    z-index: 1;
}

.poster-label {
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    letter-spacing: .15em;
}

.poster-word {
    max-width: 360px;
    font-size: clamp(4.2rem, 7vw, 7.2rem);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .78;
}

.poster-word em {
    display: block;
    color: var(--red);
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.poster-note {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 16px;
    color: #b8b8bf;
    font-size: .72rem;
}

.poster-side {
    top: 76px;
    right: -18px;
    width: 156px;
    height: 216px;
    padding: 18px;
    background: var(--red);
    color: var(--white);
    transform: rotate(8deg);
}

.poster-side strong {
    display: block;
    margin-top: 70px;
    font-size: 1.8rem;
    line-height: .9;
}

.work-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.work-card {
    position: relative;
    grid-column: span 4;
    min-height: 440px;
    overflow: hidden;
    border-radius: 24px;
    background: #e7e5e1;
}

.work-card:nth-child(2),
.work-card:nth-child(5) {
    grid-column: span 5;
}

.work-card:nth-child(3),
.work-card:nth-child(4) {
    grid-column: span 3;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .5s ease;
}

.work-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(to top, rgba(8, 8, 10, .85), transparent);
    content: "";
}

.work-card:hover img {
    filter: saturate(1.08);
    transform: scale(1.04);
}

.work-card-copy {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
    color: var(--white);
}

.work-card-copy span {
    color: #d5d5d9;
    font-family: "Space Mono", monospace;
    font-size: .68rem;
}

.work-card-copy h3 {
    margin: 5px 0 0;
    font-size: 1.3rem;
}

/* Marketing */
.marketing-hero {
    background: #f4f3ef;
}

.dashboard {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.dash-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
}

.dash-mark i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(225, 29, 46, .1);
}

.dash-period {
    padding: 7px 10px;
    border-radius: 9px;
    background: #f0eff0;
    color: var(--muted);
    font-size: .68rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.metric {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.metric small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
}

.metric strong {
    display: block;
    margin-top: 4px;
    font-size: 1.35rem;
}

.metric span {
    color: #159650;
    font-size: .68rem;
    font-weight: 700;
}

.chart {
    position: relative;
    height: 245px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background:
        linear-gradient(rgba(17, 17, 20, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 20, .05) 1px, transparent 1px);
    background-size: 100% 25%, 16.66% 100%;
}

.chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.chart-fill {
    fill: url(#chartGradient);
}

.chart-line {
    fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.channel-row {
    display: grid;
    grid-template-columns: 100px 1fr 42px;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    color: var(--muted);
    font-size: .72rem;
}

.channel-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: #ecebed;
}

.channel-bar i {
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: inherit;
    background: var(--red);
}

/* AI */
.ai-hero {
    background: #f1f2f5;
}

.ai-console {
    position: relative;
    min-height: 570px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 20, .1);
    border-radius: 32px;
    background: #111116;
    box-shadow: var(--shadow);
    color: var(--white);
}

.ai-console::before {
    position: absolute;
    top: -180px;
    right: -130px;
    width: 430px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 46, .38), transparent 66%);
    content: "";
}

.console-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-dark);
}

.console-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c5c5cb;
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    letter-spacing: .08em;
}

.console-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42d685;
    box-shadow: 0 0 0 6px rgba(66, 214, 133, .1);
}

.console-id {
    color: #777780;
    font-family: "Space Mono", monospace;
    font-size: .62rem;
}

.voice-orbit {
    position: relative;
    display: grid;
    height: 290px;
    place-items: center;
}

.voice-core {
    position: relative;
    display: grid;
    width: 128px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fa5361, var(--red) 42%, #6e0c17);
    box-shadow: 0 0 60px rgba(225, 29, 46, .28);
}

.voice-core::before,
.voice-core::after {
    position: absolute;
    border: 1px solid rgba(225, 29, 46, .3);
    border-radius: 50%;
    content: "";
}

.voice-core::before {
    inset: -38px;
}

.voice-core::after {
    inset: -78px;
    opacity: .55;
}

.voice-bars {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 38px;
}

.voice-bars i {
    width: 4px;
    height: 13px;
    border-radius: 6px;
    background: var(--white);
}

.voice-bars i:nth-child(2),
.voice-bars i:nth-child(4) {
    height: 28px;
}

.voice-bars i:nth-child(3) {
    height: 38px;
}

.console-log {
    position: relative;
    display: grid;
    gap: 10px;
}

.log-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px;
    border: 1px solid var(--line-dark);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
    color: #b7b7bf;
    font-size: .76rem;
}

.log-line strong {
    color: var(--white);
}

.demo-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.demo-card {
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.demo-card h3 {
    margin: 12px 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    letter-spacing: -.05em;
}

.demo-card > p {
    color: var(--muted);
}

.demo-note {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(225, 29, 46, .08);
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.voice-demo {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: #f2f1ef;
}

.demo-play {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
}

.wave {
    display: flex;
    height: 42px;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.wave i {
    display: block;
    width: 3px;
    height: var(--h);
    border-radius: 5px;
    background: rgba(17, 17, 20, .22);
    transform-origin: center;
}

.voice-demo.is-playing .wave i {
    animation: wave .7s ease-in-out infinite alternate;
    animation-delay: calc(var(--n) * -70ms);
    background: var(--red);
}

@keyframes wave {
    to { transform: scaleY(.42); }
}

.chat-window {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: var(--ink);
    color: var(--white);
    font-size: .75rem;
}

.chat-body {
    display: grid;
    min-height: 210px;
    align-content: end;
    gap: 9px;
    padding: 17px;
    background: #f5f4f1;
}

.bubble {
    width: fit-content;
    max-width: 84%;
    padding: 10px 13px;
    border-radius: 13px 13px 13px 3px;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(17, 17, 20, .06);
    font-size: .78rem;
}

.bubble.user {
    justify-self: end;
    border-radius: 13px 13px 3px 13px;
    background: var(--red);
    color: var(--white);
}

.chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
}

.chat-actions button {
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: var(--white);
    cursor: pointer;
    font-size: .7rem;
    font-weight: 700;
}

.chat-actions button:hover {
    border-color: rgba(225, 29, 46, .35);
    color: var(--red);
}

/* Content & production */
.production-hero {
    background: #f0eee9;
}

.studio-stage {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    border-radius: 32px;
    background: #111114;
    box-shadow: var(--shadow);
}

.studio-stage::before {
    position: absolute;
    top: -115px;
    left: 50%;
    width: 340px;
    height: 590px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .42), transparent 76%);
    clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
    content: "";
    transform: translateX(-50%);
}

.stage-floor {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48%;
    background:
        linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.08) 50%, transparent 50.3%),
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 90px 100%, 100% 48px;
    transform: perspective(400px) rotateX(58deg);
    transform-origin: bottom;
}

.stage-camera {
    position: absolute;
    bottom: 84px;
    left: 50%;
    width: 180px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: #1e1e23;
    transform: translateX(-50%);
}

.stage-camera::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    aspect-ratio: 1;
    border: 11px solid #313138;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #85414a, #09090b 55%);
    content: "";
    transform: translate(-50%, -50%);
}

.stage-camera::after {
    position: absolute;
    bottom: -68px;
    left: 50%;
    width: 6px;
    height: 70px;
    background: #28282e;
    box-shadow: -36px 62px 0 -1px #28282e, 36px 62px 0 -1px #28282e;
    content: "";
}

.stage-label {
    position: absolute;
    top: 28px;
    left: 28px;
    color: rgba(255, 255, 255, .72);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    letter-spacing: .1em;
}

.stage-time {
    position: absolute;
    right: 28px;
    bottom: 26px;
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .76rem;
}

.service-list {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(260px, .55fr);
    align-items: center;
    gap: 26px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.service-row > span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .74rem;
}

.service-row h3 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    letter-spacing: -.05em;
}

.service-row p {
    margin: 0;
    color: var(--muted);
}

/* References */
.references-page .site-header:not(.is-scrolled) .brand img {
    filter: brightness(0) invert(1);
}

.references-page .site-header:not(.is-scrolled) .site-nav a {
    color: rgba(255, 255, 255, .86);
}

.references-page .site-header:not(.is-scrolled) .site-nav a:hover,
.references-page .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
    color: var(--white);
}

/* Keep dropdown links dark on white dropdown background */
.references-page .site-header:not(.is-scrolled) .site-nav .dropdown-menu a {
    color: #303037;
}

.references-page .site-header:not(.is-scrolled) .site-nav .dropdown-menu a:hover,
.references-page .site-header:not(.is-scrolled) .site-nav .dropdown-menu a[aria-current="page"] {
    color: var(--red);
}

.references-page .site-header:not(.is-scrolled) .site-nav .dropdown-trigger {
    color: rgba(255, 255, 255, .86);
}

.references-page .site-header:not(.is-scrolled) .site-nav .dropdown-trigger:hover {
    color: var(--white);
}

.references-page .site-header:not(.is-scrolled) .nav-cta {
    background: var(--white);
    color: var(--ink);
}

.references-page .site-header:not(.is-scrolled) .menu-toggle {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.references-page .site-header:not(.is-scrolled) .menu-toggle span {
    background: var(--white);
}

.references-hero {
    min-height: 690px;
    background: var(--ink);
    color: var(--white);
}

.references-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
}

.references-hero .hero-copy > p {
    color: var(--muted-light);
}

.reference-stack {
    position: relative;
    min-height: 540px;
}

.reference-stack figure {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line-dark);
    border-radius: 22px;
    background: #222228;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.reference-stack figure:nth-child(1) {
    inset: 20px 80px 120px 0;
    transform: rotate(-5deg);
}

.reference-stack figure:nth-child(2) {
    inset: 90px 0 46px 130px;
    transform: rotate(5deg);
}

.reference-stack figure:nth-child(3) {
    right: 20px;
    bottom: 0;
    width: 44%;
    height: 210px;
    transform: rotate(-2deg);
}

.reference-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-video-stack {
    isolation: isolate;
}

.reference-video-card {
    position: absolute;
    overflow: hidden;
    width: min(48%, 310px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background: #08080a;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .46);
    color: var(--white);
    cursor: pointer;
    aspect-ratio: 9 / 16;
    transform-origin: center;
    transition: transform .45s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.reference-video-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .1), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .76));
    pointer-events: none;
    content: "";
}

.reference-video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reference-video-card.is-primary {
    top: 22px;
    left: 22px;
    z-index: 1;
    transform: rotate(-6deg);
}

.reference-video-card.is-secondary {
    top: 72px;
    left: 190px;
    z-index: 2;
    width: min(46%, 292px);
    transform: rotate(5deg);
}

.reference-video-card.is-tertiary {
    right: 24px;
    bottom: 0;
    z-index: 3;
    width: min(38%, 235px);
    transform: rotate(-2deg);
}

.reference-video-card:hover,
.reference-video-card:focus-visible {
    border-color: rgba(225, 29, 46, .55);
    box-shadow: 0 42px 110px rgba(0, 0, 0, .56);
}

.reference-video-card.is-primary:hover,
.reference-video-card.is-primary:focus-visible {
    transform: rotate(-4deg) translateY(-8px) scale(1.025);
}

.reference-video-card.is-secondary:hover,
.reference-video-card.is-secondary:focus-visible {
    transform: rotate(3deg) translateY(-8px) scale(1.025);
}

.reference-video-card.is-tertiary:hover,
.reference-video-card.is-tertiary:focus-visible {
    transform: rotate(-1deg) translateY(-8px) scale(1.025);
}

.reference-video-info {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    gap: 4px;
    text-align: left;
}

.reference-video-info strong {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.reference-video-info small {
    color: rgba(255, 255, 255, .72);
    font-family: "Space Mono", monospace;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.reference-video-play {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(17, 17, 20, .68);
    color: var(--white);
    font-size: .82rem;
}

.portfolio-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e5e3df;
    aspect-ratio: .78;
}

.project-card:nth-child(5n + 1),
.project-card:nth-child(5n + 4) {
    grid-column: span 2;
    aspect-ratio: 1.36;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.project-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(to top, rgba(8, 8, 10, .8), transparent);
    content: "";
}

.project-card:hover img {
    transform: scale(1.045);
}

.project-meta {
    position: absolute;
    right: 18px;
    bottom: 17px;
    left: 18px;
    z-index: 1;
    color: var(--white);
}

.project-meta small {
    color: #d3d3d8;
    font-family: "Space Mono", monospace;
    font-size: .6rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.project-meta h3 {
    margin: 4px 0 0;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    line-height: 1.1;
}

.reel-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(38px, 7vw, 100px);
}

.reel-cover {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #08080a;
    aspect-ratio: 9 / 14;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
}

.reel-cover::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, transparent, rgba(0, 0, 0, .42));
    content: "";
}

.reel-cover video,
.reel-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    background: rgba(17, 17, 20, .7);
    color: var(--white);
    cursor: pointer;
    font-size: 1.25rem;
    transform: translate(-50%, -50%);
    transition: background-color .3s ease, transform .3s var(--ease);
}

.reel-play:hover {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.06);
}

.reel-copy h2 {
    margin: 16px 0 22px;
    font-size: clamp(3rem, 6vw, 6.5rem);
    letter-spacing: -.07em;
    line-height: .92;
}

.reel-copy p {
    max-width: 590px;
    color: var(--muted-light);
}

.reference-reels {
    position: relative;
    overflow: hidden;
}

.reference-reels::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(225, 29, 46, .18), transparent 32%),
        radial-gradient(circle at 88% 72%, rgba(255, 255, 255, .08), transparent 28%);
    pointer-events: none;
    content: "";
}

.reference-reels > .site-wrap {
    position: relative;
    z-index: 1;
}

.reference-reels-head {
    max-width: 880px;
    margin: 0 auto 50px;
    text-align: center;
}

.reference-reels-head .eyebrow,
.reference-reels-head p {
    color: rgba(255, 255, 255, .68);
}

.reference-reels-head h2 {
    color: var(--white);
}

.reference-reels-head p {
    max-width: 640px;
    margin: 0 auto;
}

.reference-reel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
}

.reference-reel-card {
    aspect-ratio: 9 / 16;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .36);
}

.reference-reel-card::after {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .84));
    content: "";
}

.reference-reel-card > img {
    opacity: .88;
    transition: opacity .3s ease, transform .6s var(--ease);
}

.reference-reel-card:hover > img {
    opacity: 1;
    transform: scale(1.035);
}

.reel-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    gap: 6px;
    color: var(--white);
}

.reel-caption span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.reel-caption strong {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.reel-caption small {
    max-width: 25ch;
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 1080px) {
    .web-hero-visual,
    .design-canvas,
    .dashboard,
    .ai-console,
    .studio-stage,
    .reference-stack {
        width: min(100%, 760px);
    }

    .work-card,
    .work-card:nth-child(n) {
        grid-column: span 6;
    }

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

    .project-card:nth-child(n) {
        grid-column: span 1;
        aspect-ratio: .82;
    }

    .reference-reel-grid {
        justify-content: center;
        grid-template-columns: repeat(2, minmax(0, 360px));
    }

    .reference-reel-card {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .web-hero-visual,
    .design-canvas,
    .dashboard,
    .ai-console,
    .studio-stage,
    .reference-stack {
        min-height: 430px;
    }

    .browser-window {
        inset: 18px 0 0;
    }

    .code-screen {
        grid-template-columns: 70px 1fr;
        min-height: 350px;
    }

    .code-lines {
        padding: 26px 20px;
    }

    .visual-chip.top {
        right: 8px;
    }

    .visual-chip.bottom {
        left: 8px;
    }

    .poster-main {
        inset: 20px 22px 20px 0;
    }

    .poster-side {
        right: 0;
        width: 126px;
    }

    .work-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .work-card,
    .work-card:nth-child(n) {
        grid-column: auto;
        min-height: 370px;
    }

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

    .reference-reels-head {
        margin-bottom: 30px;
        text-align: left;
    }

    .reference-reels-head p {
        margin: 0;
    }

    .reference-reel-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .reference-reel-card {
        width: min(100%, 340px);
        min-height: auto;
        margin: 0 auto;
        border-radius: 22px;
    }

    .reel-caption {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .metric {
        padding: 12px 8px;
    }

    .metric strong {
        font-size: 1rem;
    }

    .channel-row {
        grid-template-columns: 74px 1fr 34px;
    }

    .demo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .voice-orbit {
        height: 235px;
    }

    .service-row {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 14px;
    }

    .service-row p {
        grid-column: 2;
    }

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

    .project-card,
    .project-card:nth-child(n) {
        min-width: 0;
        aspect-ratio: .8;
    }

    .project-meta {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .reference-stack figure:nth-child(1) {
        inset: 14px 70px 90px 0;
    }

    .reference-stack figure:nth-child(2) {
        inset: 80px 0 36px 90px;
    }

    .reference-video-card {
        border-radius: 22px;
    }

    .reference-video-card.is-primary {
        top: 18px;
        left: 6px;
        width: min(49%, 220px);
    }

    .reference-video-card.is-secondary {
        top: 72px;
        left: 118px;
        width: min(48%, 210px);
    }

    .reference-video-card.is-tertiary {
        right: 8px;
        bottom: 8px;
        width: min(39%, 165px);
    }

    .reference-video-info {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .reference-video-info small {
        display: none;
    }

    .reference-video-play {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: .72rem;
    }

    .reel-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .reel-cover {
        width: min(100%, 370px);
        margin-inline: auto;
    }

    .reel-cover.reference-reel-card {
        width: min(100%, 340px);
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.faq-item summary {
    padding: 24px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--red);
    transition: transform .3s ease;
}

.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 32px 24px;
    color: var(--text);
    line-height: 1.6;
    animation: faqFadeIn .4s ease;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-item summary {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
        font-size: .95rem;
    }
}

/* SEO / GEO content blocks */
.seo-brief {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.seo-brief-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(280px, .42fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.seo-answer {
    max-width: 820px;
}

.seo-answer h2,
.seo-proof h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 4.6rem);
    line-height: .96;
    letter-spacing: -.065em;
}

.seo-answer p,
.seo-proof p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.seo-answer strong {
    color: var(--ink);
}

.seo-facts {
    display: grid;
    gap: 12px;
    margin: 0;
}

.seo-fact {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 16px 50px rgba(17, 17, 20, .05);
}

.seo-fact dt {
    margin: 0 0 5px;
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.seo-fact dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
}

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

.intent-card {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 60px rgba(17, 17, 20, .06);
}

.intent-card span {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.intent-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.intent-card p {
    margin: 0;
    color: var(--muted);
}

.section-dark .seo-fact,
.section-dark .intent-card {
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
}

.section-dark .seo-answer h2,
.section-dark .seo-proof h2,
.section-dark .intent-card h3,
.section-dark .seo-answer strong,
.section-dark .seo-fact dd {
    color: var(--white);
}

.section-dark .seo-answer p,
.section-dark .seo-proof p,
.section-dark .intent-card p {
    color: rgba(255, 255, 255, .68);
}

.section-dark .faq-item {
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, .06);
}

.section-dark .faq-item summary {
    color: var(--white);
}

.section-dark .faq-answer {
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 960px) {
    .seo-brief-grid,
    .intent-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .seo-fact,
    .intent-card {
        padding: 20px;
        border-radius: 18px;
    }
}

/* Blog and vertical authority pages */
.sector-command {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(225, 29, 46, .16), transparent 32%),
        linear-gradient(135deg, #fbfaf7 0%, #f3f0ea 46%, #ffffff 100%);
}

.sector-command::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 17, 20, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 20, .035) 1px, transparent 1px);
    background-size: 58px 58px;
    content: "";
    pointer-events: none;
}

.sector-command-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(340px, .46fr);
    gap: clamp(36px, 7vw, 92px);
    align-items: center;
}

.sector-audit-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .32), transparent 42%),
        linear-gradient(145deg, #111114 0%, #1f1719 100%);
    color: var(--white);
    box-shadow: 0 34px 110px rgba(17, 17, 20, .22);
}

.sector-audit-top,
.sector-audit-score,
.sector-audit-stack div,
.sector-guide-link,
.article-card-foot,
.featured-article-meta div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sector-audit-top span,
.sector-audit-score span,
.sector-command-notes span,
.sector-solution-map span,
.sector-profile-copy span,
.sector-flow span,
.sector-guide-link span,
.blog-editorial-card span,
.featured-article-meta span,
.article-library-card span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.sector-audit-top strong {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.sector-audit-score {
    display: block;
    margin: 34px 0;
}

.sector-audit-score strong {
    display: block;
    margin: 12px 0;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.sector-audit-score p {
    max-width: 32ch;
    margin: 0;
    color: rgba(255, 255, 255, .66);
}

.sector-audit-stack {
    display: grid;
    gap: 12px;
}

.sector-audit-stack div {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
}

.sector-audit-stack b {
    font-size: .98rem;
}

.sector-audit-stack span {
    color: rgba(255, 255, 255, .58);
    font-size: .9rem;
    text-align: right;
}

.sector-audit-stack i {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: .7;
}

.sector-brief {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(246, 245, 242, .68));
}

.sector-brief-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(320px, .44fr);
    gap: clamp(32px, 5vw, 74px);
    align-items: start;
}

.sector-command-notes {
    display: grid;
    gap: 14px;
}

.sector-command-notes article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 60px rgba(17, 17, 20, .055);
}

.sector-command-notes h3 {
    margin: 12px 0 8px;
    font-size: 1.22rem;
    letter-spacing: -.035em;
}

.sector-command-notes p {
    margin: 0;
    color: var(--muted);
}

.sector-solution-map {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sector-solution-map article {
    position: relative;
    min-height: 310px;
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 10%, rgba(225, 29, 46, .16), transparent 34%),
        rgba(255, 255, 255, .055);
}

.sector-solution-map article:not(:last-child)::after {
    position: absolute;
    top: 34px;
    right: -12px;
    z-index: 2;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    content: "→";
    font-size: .86rem;
    font-weight: 900;
}

.sector-solution-map h3 {
    margin: 58px 0 14px;
    color: var(--white);
    font-size: clamp(1.45rem, 2.1vw, 2.15rem);
    line-height: 1.02;
    letter-spacing: -.052em;
}

.sector-solution-map p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
}

.sector-pathway {
    overflow: hidden;
    scroll-margin-top: 112px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: var(--white);
    box-shadow: 0 28px 90px rgba(17, 17, 20, .08);
}

#isletme-tipleri {
    scroll-margin-top: 112px;
}

.sector-pathway-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
    background: #f6f5f2;
}

.sector-type-button {
    min-height: 72px;
    padding: 18px 20px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: left;
    transition: background .25s ease, color .25s ease;
}

.sector-type-button:last-child {
    border-right: 0;
}

.sector-type-button:hover,
.sector-type-button.is-active {
    background: var(--white);
    color: var(--red);
}

.sector-profile-panel {
    display: grid;
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
    gap: clamp(24px, 4vw, 52px);
    padding: clamp(24px, 4vw, 48px);
}

.sector-profile-copy h3 {
    margin: 16px 0 14px;
    font-size: clamp(1.9rem, 3vw, 3.6rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.sector-profile-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.sector-flow div {
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .11), transparent 38%),
        #fbfaf7;
}

.sector-flow p {
    margin: 18px 0 0;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.35;
}

.sector-related-guides {
    display: grid;
    grid-template-columns: minmax(0, .45fr) minmax(0, .55fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: stretch;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .12), transparent 34%),
        var(--white);
    box-shadow: 0 26px 90px rgba(17, 17, 20, .07);
}

.sector-related-copy h2 {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.sector-related-copy p {
    margin: 0 0 24px;
    color: var(--muted);
}

.sector-guide-list {
    display: grid;
    gap: 12px;
}

.sector-guide-link {
    min-height: 116px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(246, 245, 242, .72);
}

.sector-guide-link strong {
    max-width: 34ch;
    color: var(--ink);
    line-height: 1.15;
}

.sector-guide-link i {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-style: normal;
}

.sector-final-cta {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .2), transparent 38%),
        linear-gradient(135deg, #19191d, #3a1117);
}

.blog-magazine {
    background:
        linear-gradient(90deg, rgba(17, 17, 20, .045) 1px, transparent 1px),
        linear-gradient(180deg, #fbfaf7 0%, #f5f2ed 100%);
    background-size: 68px 68px, auto;
}

.blog-masthead {
    display: grid;
    grid-template-columns: minmax(0, .76fr) minmax(280px, .28fr);
    gap: clamp(32px, 6vw, 86px);
    align-items: end;
}

.blog-masthead-copy {
    max-width: 980px;
}

.blog-masthead h1 {
    margin: 12px 0 24px;
    max-width: 11ch;
    font-size: clamp(3.4rem, 8vw, 9.2rem);
    line-height: .86;
    letter-spacing: -.08em;
}

.blog-masthead h1 em {
    color: var(--red);
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.blog-masthead p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.blog-editorial-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 24px 80px rgba(17, 17, 20, .08);
}

.blog-editorial-card strong {
    display: block;
    margin: 32px 0 16px;
    font-size: clamp(1.8rem, 3vw, 3.4rem);
    line-height: .95;
    letter-spacing: -.065em;
}

.blog-editorial-card p {
    margin: 0 0 28px;
}

.blog-editorial-card div {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.blog-editorial-card b {
    color: var(--red);
    font-size: 3rem;
    line-height: .8;
}

.blog-editorial-card small {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
}

.blog-library-section {
    background: #fff;
}

.featured-article {
    display: grid;
    grid-template-columns: minmax(0, .68fr) minmax(280px, .32fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: stretch;
    margin-bottom: clamp(34px, 6vw, 74px);
    padding: clamp(28px, 5vw, 58px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 92% 8%, rgba(225, 29, 46, .28), transparent 36%),
        linear-gradient(135deg, #111114, #251417 78%);
    color: var(--white);
    box-shadow: 0 34px 110px rgba(17, 17, 20, .18);
}

.featured-article h2 {
    margin: 16px 0;
    max-width: 12ch;
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 6.8rem);
    line-height: .9;
    letter-spacing: -.075em;
}

.featured-article p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .68);
    font-size: 1.08rem;
}

.featured-article-meta {
    display: grid;
    gap: 12px;
    align-content: end;
}

.featured-article-meta div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}

.featured-article-meta strong {
    color: var(--white);
    text-align: right;
}

.blog-library-head {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.blog-library-head h2 {
    margin: 12px 0 0;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.blog-library-head p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
}

.topic-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.topic-filter button {
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fbfaf7;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.topic-filter button:hover,
.topic-filter button.is-active {
    border-color: rgba(225, 29, 46, .26);
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.blog-library-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.article-library-card {
    display: flex;
    min-height: 300px;
    grid-column: span 4;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 70px rgba(17, 17, 20, .06);
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.article-library-card:nth-child(1),
.article-library-card:nth-child(4) {
    grid-column: span 6;
}

.article-library-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 46, .25);
    box-shadow: 0 32px 100px rgba(17, 17, 20, .12);
}

.article-library-card h3 {
    margin: 22px 0 14px;
    font-size: clamp(1.55rem, 2.2vw, 2.45rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.article-library-card p {
    margin: 0;
    color: var(--muted);
}

.article-card-foot {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.article-card-foot small {
    color: var(--muted);
    font-weight: 800;
}

.article-card-foot b {
    color: var(--ink);
}

.article-library-card.is-hidden {
    display: none;
}

.blog-soft-cta {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(225, 29, 46, .18);
    border-radius: 34px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .13), transparent 34%),
        #fbfaf7;
}

.blog-soft-cta h2 {
    margin: 10px 0 10px;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.blog-soft-cta p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.vertical-hero .hero-meta span,
.blog-hero .hero-meta span {
    border-color: rgba(225, 29, 46, .18);
    background: rgba(225, 29, 46, .07);
}

.pillar-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pillar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 60px rgba(17, 17, 20, .055);
}

.pillar-card span,
.blog-card span,
.article-meta span,
.toc-card span,
.evidence-card span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pillar-card h3 {
    margin: 16px 0 10px;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.pillar-card p {
    margin: 0;
    color: var(--muted);
}

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

.blog-card {
    position: relative;
    display: flex;
    min-height: 340px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 10%, rgba(225, 29, 46, .12), transparent 34%),
        var(--white);
    box-shadow: 0 22px 70px rgba(17, 17, 20, .07);
    transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(225, 29, 46, .28);
    box-shadow: 0 32px 90px rgba(17, 17, 20, .12);
}

.blog-card h3 {
    margin: 22px 0 14px;
    font-size: clamp(1.5rem, 2.3vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
}

.blog-card .read-more {
    margin-top: 28px;
    color: var(--ink);
    font-weight: 800;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: start;
}

.article-body {
    max-width: 860px;
}

.article-body > * + * {
    margin-top: 22px;
}

.article-body h2 {
    margin-top: 56px;
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.article-body h3 {
    margin-top: 34px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.article-body p,
.article-body li {
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.article-body strong {
    color: var(--ink);
}

.article-body ul,
.article-body ol {
    padding-left: 1.2em;
}

.article-body li + li {
    margin-top: 10px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.article-meta span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
}

.toc-card {
    position: sticky;
    top: 112px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 60px rgba(17, 17, 20, .06);
}

.toc-card nav {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.toc-card a {
    color: var(--muted);
    font-weight: 700;
}

.toc-card a:hover {
    color: var(--red);
}

.toc-related {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.toc-related span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.answer-box,
.risk-box,
.checklist-box {
    padding: 26px;
    border: 1px solid rgba(225, 29, 46, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .12), transparent 32%),
        rgba(255, 255, 255, .82);
}

.risk-box {
    border-color: rgba(17, 17, 20, .12);
    background: rgba(17, 17, 20, .045);
}

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

.evidence-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.evidence-card h3 {
    margin: 14px 0 10px;
    font-size: 1.35rem;
}

.evidence-card p {
    margin: 0;
    color: var(--muted);
}

.article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 56px;
}

.article-related {
    margin-top: 64px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(225, 29, 46, .16);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0, rgba(225, 29, 46, .1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 245, 242, .72));
    box-shadow: 0 24px 80px rgba(17, 17, 20, .07);
}

.article-related-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 24px;
    align-items: end;
}

.article-related-head span,
.article-related-card span,
.article-step-link span {
    color: var(--red);
    font-family: "Space Mono", monospace;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.article-related-head h2 {
    margin: 8px 0 0;
    font-size: clamp(1.9rem, 3vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.article-related-head a {
    color: var(--ink);
    font-weight: 900;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.article-related-card {
    display: grid;
    min-height: 190px;
    align-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.article-related-card:hover,
.article-step-link:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 46, .28);
    box-shadow: 0 18px 60px rgba(17, 17, 20, .09);
}

.article-related-card strong {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.16;
}

.article-related-card small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.article-step-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.article-step-link {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.article-step-link:last-child {
    text-align: right;
}

.article-step-link strong {
    color: var(--ink);
    line-height: 1.2;
}

@media (max-width: 1120px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .toc-card {
        position: static;
    }
}

@media (max-width: 1020px) {
    .sector-command-grid,
    .sector-brief-grid,
    .sector-profile-panel,
    .sector-related-guides,
    .blog-masthead,
    .featured-article {
        grid-template-columns: minmax(0, 1fr);
    }

    .sector-solution-map,
    .sector-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sector-solution-map article:not(:last-child)::after {
        display: none;
    }

    .blog-library-head,
    .blog-soft-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-library-card,
    .article-library-card:nth-child(1),
    .article-library-card:nth-child(4) {
        grid-column: span 6;
    }

    .pillar-strip,
    .blog-grid,
    .evidence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .toc-card {
        position: static;
    }

    .article-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    #isletme-tipleri {
        scroll-margin-top: 86px;
    }

    .sector-command .hero-copy h1 {
        font-size: clamp(2.75rem, 13vw, 4.45rem);
        line-height: .92;
        letter-spacing: -.07em;
    }

    .sector-command .hero-copy p {
        font-size: .98rem;
    }

    .sector-command-grid {
        gap: 28px;
    }

    .sector-command .hero-meta {
        gap: 8px 12px;
    }

    .sector-audit-card {
        padding: 20px;
    }

    .sector-audit-score {
        margin: 24px 0;
    }

    .sector-audit-score strong {
        font-size: clamp(1.65rem, 9vw, 2.3rem);
    }

    .sector-command-grid,
    .sector-brief-grid,
    .sector-solution-map,
    .sector-flow,
    .sector-related-guides,
    .blog-masthead,
    .featured-article {
        grid-template-columns: minmax(0, 1fr);
    }

    .sector-audit-card,
    .sector-pathway,
    .sector-related-guides,
    .featured-article,
    .blog-soft-cta {
        border-radius: 24px;
    }

    .sector-audit-top,
    .sector-audit-stack div,
    .sector-guide-link,
    .featured-article-meta div {
        align-items: flex-start;
        flex-direction: column;
    }

    .sector-audit-stack span,
    .featured-article-meta strong {
        text-align: left;
    }

    .sector-pathway-tabs {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
        border-bottom: 1px solid var(--line);
        overflow-x: visible;
    }

    .sector-type-button {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(255, 255, 255, .68);
    }

    .sector-type-button::after {
        content: "+";
        display: grid;
        width: 28px;
        height: 28px;
        flex: 0 0 auto;
        place-items: center;
        border-radius: 50%;
        background: rgba(225, 29, 46, .1);
        color: var(--red);
        font-weight: 900;
    }

    .sector-type-button.is-active::after {
        content: "−";
    }

    .sector-profile-panel {
        padding: 22px;
    }

    .sector-solution-map article,
    .sector-flow div {
        min-height: auto;
    }

    .blog-masthead h1 {
        max-width: 100%;
        font-size: clamp(3.1rem, 16vw, 5.2rem);
    }

    .featured-article h2 {
        max-width: 100%;
    }

    .topic-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .topic-filter button {
        flex: 0 0 auto;
    }

    .blog-library-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-library-card,
    .article-library-card:nth-child(1),
    .article-library-card:nth-child(4) {
        min-height: 260px;
        grid-column: auto;
        padding: 22px;
    }

    .pillar-strip,
    .blog-grid,
    .evidence-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-card {
        min-height: 285px;
        padding: 24px;
    }

    .article-meta {
        gap: 8px;
    }

    .article-related {
        margin-top: 44px;
        padding: 20px;
        border-radius: 22px;
    }

    .article-related-head,
    .article-step-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-related-head a,
    .article-step-link:last-child {
        text-align: left;
    }

    .article-related-card {
        min-height: auto;
    }

    .answer-box,
    .risk-box,
    .checklist-box,
    .toc-card {
        padding: 20px;
        border-radius: 18px;
    }
}
