:root {
    --ink: #081121;
    --navy: #0b1527;
    --navy-soft: #101c30;
    --paper: #f7f6f2;
    --muted: #aab4c6;
    --amber: #f5a623;
    --amber-light: #ffc15f;
    --blue: #2d8cff;
    --line: rgba(231, 238, 249, .14);
    --ease: cubic-bezier(.23, 1, .32, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.devbyak-site {
    margin: 0;
    color: var(--paper);
    background: radial-gradient(circle at 82% 10%, rgba(45, 140, 255, .08), transparent 28rem), radial-gradient(circle at 8% 65%, rgba(245, 166, 35, .045), transparent 32rem), var(--ink);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-underline-offset: .22em;
}

a:hover {
    color: var(--amber);
}

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

button,
input,
textarea {
    font: inherit;
}

::selection {
    color: var(--ink);
    background: var(--amber);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.065em;
}

h1 {
    font-size: clamp(2.7rem, 5.3vw, 5.7rem);
    line-height: .99;
}

h2 {
    font-size: clamp(2.05rem, 3.6vw, 4rem);
    line-height: 1.04;
}

h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1.16;
}

em {
    color: var(--amber);
    font-style: normal;
}

.section-pad,
.hero-section,
.site-footer {
    max-width: 1600px;
    margin: 0 auto;
    padding-right: clamp(1.25rem, 5.3vw, 6.2rem);
    padding-left: clamp(1.25rem, 5.3vw, 6.2rem);
}

.section-pad {
    padding-top: clamp(4.5rem, 9vw, 9rem);
    padding-bottom: clamp(4.5rem, 9vw, 9rem);
}

.section-pad+.section-pad {
    border-top: 1px solid var(--line);
}

.signal-label {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin: 0 0 1rem;
    color: #d9e0eb;
    font-family: "IBM Plex Mono", monospace;
    font-size: .64rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.signal-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .13);
}

.hero-kicker,
.mono-index,
.project-meta,
.blog-index,
.faq-accordion summary span,
.process-item>span {
    color: var(--amber);
    font-family: "IBM Plex Mono", monospace;
    font-size: .65rem;
    letter-spacing: .04em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    gap: .55rem;
    padding: .72rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms var(--ease), background 160ms var(--ease), border 160ms var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: scale(.97);
}

.button-amber {
    color: var(--ink);
    background: var(--amber);
}

.button-amber:hover {
    color: var(--ink);
    background: var(--amber-light);
}

.button-outline {
    color: var(--paper);
    border-color: var(--line);
    background: rgba(255, 255, 255, .02);
}

.button-outline:hover {
    color: var(--amber);
    border-color: var(--amber);
    background: transparent;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: fit-content;
    padding-bottom: .18rem;
    color: var(--paper);
    border-bottom: 1px solid rgba(245, 166, 35, .55);
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 160ms var(--ease), color 160ms var(--ease);
}

.text-link:hover {
    gap: .65rem;
    color: var(--amber);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    min-height: 76px;
    border-bottom: 1px solid rgba(230, 236, 246, .08);
    background: rgba(8, 17, 33, .9);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5.3vw, 6.2rem);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--paper);
    text-decoration: none;
}

.brand-mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, .18));
}

.brand-wordmark {
    display: flex;
    gap: 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: -.09em;
}

.brand-wordmark b {
    color: var(--amber);
}

.primary-nav .menu,
.footer-nav .menu {
    display: flex;
    gap: 1.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    color: #c8d0dd;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}

.primary-nav .current-menu-item a,
.primary-nav a:hover {
    color: var(--amber);
}

.header-cta {
    margin-left: 2rem;
    color: var(--ink);
    padding: .67rem .9rem;
    border-radius: 5px;
    background: var(--amber);
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

.header-cta:hover {
    color: var(--ink);
    background: var(--amber-light);
}

.menu-toggle,
.mobile-nav {
    display: none;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    min-height: min(830px, calc(100vh - 76px));
    gap: clamp(2rem, 6vw, 7.5rem);
    padding-top: clamp(4rem, 8vw, 8.5rem);
    padding-bottom: clamp(4rem, 7vw, 7.1rem);
}

.hero-kicker {
    margin: 1.25rem 0 .8rem;
    color: #d8e1ed;
    font-size: .78rem;
}

.hero-copy h1 {
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero-text {
    max-width: 610px;
    margin: 0 0 1.75rem;
    color: #b8c1d0;
    font-size: clamp(.92rem, 1.2vw, 1.05rem);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.3rem;
}

.hero-art {
    position: relative;
    isolation: isolate;
    min-height: 525px;
    overflow: hidden;
    border: 1px solid rgba(248, 249, 251, .12);
    border-radius: 10px;
    background: #0a1427;
    box-shadow: 1.2rem 1.2rem 0 rgba(245, 166, 35, .09);
}

.hero-art>img {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-art-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 17, 33, .2), transparent 40%, rgba(8, 17, 33, .52)), repeating-linear-gradient(90deg, rgba(245, 166, 35, .13) 0 1px, transparent 1px 42px), repeating-linear-gradient(0deg, rgba(245, 166, 35, .13) 0 1px, transparent 1px 42px);
}

.hero-art-caption {
    position: absolute;
    bottom: 1.15rem;
    left: 1.2rem;
    display: grid;
    gap: .15rem;
    padding: .65rem .8rem;
    border-left: 2px solid var(--amber);
    background: rgba(8, 17, 33, .72);
    backdrop-filter: blur(10px);
}

.hero-art-caption span {
    color: var(--amber);
    font-family: "IBM Plex Mono", monospace;
    font-size: .6rem;
}

.hero-art-caption strong {
    font-size: .75rem;
}

.section-heading {
    max-width: 780px;
}

.section-heading>p:not(.signal-label) {
    max-width: 550px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.8;
}

.pillars-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 4.2rem 0 0 auto;
    border-top: 1px solid var(--line);
}

.pillar {
    position: relative;
    min-height: 250px;
    padding: 1.5rem clamp(1rem, 2.3vw, 2.5rem);
    border-right: 1px solid var(--line);
}

.pillar:first-child {
    border-left: 1px solid var(--line);
}

.pillar:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    content: "";
    transition: width 260ms var(--ease);
}

.pillar:hover:after {
    width: 100%;
}

.pillar h3 {
    margin: 3.2rem 0 .7rem;
    font-size: 1.22rem;
}

.pillar p {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.75;
}

.about-section {
    display: grid;
    grid-template-columns: minmax(310px, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 9vw, 10rem);
    border-top: 1px solid var(--line);
}

.about-image {
    position: relative;
    aspect-ratio: .92;
    max-width: 505px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 1rem 1rem 0 rgba(45, 140, 255, .1);
}

.about-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stamp {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .65rem;
    color: var(--amber);
    border: 1px solid rgba(245, 166, 35, .45);
    background: rgba(8, 17, 33, .85);
    font-family: "DM Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.08em;
}

.about-stamp small {
    color: #d6deea;
    font-family: "IBM Plex Mono", monospace;
    font-size: .45rem;
    line-height: 1.3;
    letter-spacing: .04em;
}

.about-copy>p:not(.signal-label) {
    max-width: 560px;
    margin: 1.45rem 0;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.85;
}

.work-section,
.process-section,
.services-section {
    border-top: 1px solid var(--line);
}

.work-top,
.process-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.home-projects,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3.2rem;
}

.home-projects .project-card:first-child {
    grid-column: span 2;
    min-height: 520px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    overflow: hidden;
    padding: 1rem;
    color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(140deg, #111d31, #0c1629);
    text-decoration: none;
    transition: transform 240ms var(--ease), border 240ms var(--ease), box-shadow 240ms var(--ease);
}

.project-card:hover {
    color: var(--paper);
    border-color: rgba(245, 166, 35, .65);
    box-shadow: 0 1.1rem 3rem rgba(0, 0, 0, .2);
    transform: translateY(-7px);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: #b4bfd0;
    font-size: .58rem;
}

.project-visual {
    position: relative;
    flex: 1;
    min-height: 220px;
    margin: 1rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: #0d192d;
}

.project-visual:before {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 20%, rgba(45, 140, 255, .22), transparent 52%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 50px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 50px);
    content: "";
}

.project-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    mix-blend-mode: screen;
}

.project-visual span {
    position: absolute;
    display: block;
    border: 1px solid rgba(245, 166, 35, .6);
    background: rgba(45, 140, 255, .18);
    transform: skewY(-26deg);
}

.project-visual span:nth-child(1) {
    top: 30%;
    left: 12%;
    width: 42%;
    height: 22%;
}

.project-visual span:nth-child(2) {
    right: 10%;
    bottom: 16%;
    width: 28%;
    height: 37%;
}

.project-visual span:nth-child(3) {
    top: 17%;
    right: 28%;
    width: 7%;
    height: 10%;
    background: var(--amber);
    box-shadow: 0 0 20px var(--amber);
}

.project-visual-dealer:before {
    background: linear-gradient(160deg, rgba(245, 166, 35, .35), transparent 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 30px);
}

.project-visual-padel:before {
    background: radial-gradient(circle at 55% 48%, rgba(89, 216, 170, .3), transparent 25%), linear-gradient(135deg, rgba(45, 140, 255, .33), transparent);
}

.project-copy h3 {
    margin: 0;
    font-size: 1.08rem;
}

.project-copy p {
    margin: .4rem 0 0;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.55;
}

.project-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--amber);
    font-size: 1.2rem;
}

.process-list {
    margin-top: 3.7rem;
    border-top: 1px solid var(--line);
}

.process-item {
    display: grid;
    grid-template-columns: 8% 23% minmax(0, 1fr) auto;
    align-items: center;
    min-height: 112px;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    transition: padding 180ms var(--ease), background 180ms var(--ease);
}

.process-item:hover {
    padding-left: .8rem;
    background: linear-gradient(90deg, rgba(245, 166, 35, .07), transparent 70%);
}

.process-item h3 {
    margin: 0;
    font-size: 1.2rem;
}

.process-item p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.7;
}

.process-item b {
    color: var(--amber);
    font-size: 1.5rem;
    font-weight: 400;
}

.services-mini-grid,
.service-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 3.25rem 0 1.5rem;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(18, 31, 53, .88), rgba(12, 22, 39, .9));
    transition: transform 220ms var(--ease), border 220ms var(--ease);
}

.service-card:hover {
    border-color: rgba(245, 166, 35, .55);
    transform: translateY(-5px);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
}

.service-glyph {
    position: relative;
    display: block;
    width: 38px;
    height: 26px;
}

.service-glyph i {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--amber);
    border-radius: 2px;
}

.service-glyph i:nth-child(1) {
    top: 0;
    left: 0;
}

.service-glyph i:nth-child(2) {
    right: 0;
    bottom: 0;
}

.service-glyph i:nth-child(3) {
    top: 5px;
    left: 12px;
    background: var(--amber);
}

.service-card h2,
.service-card h3 {
    margin: 3.1rem 0 .75rem;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: .79rem;
    line-height: 1.78;
}

.service-card ul {
    display: grid;
    gap: .65rem;
    margin: 1.35rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.service-card li {
    display: flex;
    gap: .45rem;
    color: #d5dce8;
    font-size: .72rem;
}

.service-card li:before {
    color: var(--amber);
    content: "✓";
}

.service-card .text-link {
    margin-top: auto;
}

.expect-section {
    border-top: 1px solid var(--line);
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3.2rem;
}

.expect-grid article {
    padding: 1.6rem 1.2rem;
    border-left: 1px solid var(--line);
}

.expect-grid span {
    color: var(--amber);
}

.expect-grid h3 {
    margin: 2rem 0 .6rem;
}

.expect-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.75;
}

.cta-band {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5.3vw, 6.2rem);
    border-top: 1px solid var(--line);
    background: linear-gradient(105deg, rgba(245, 166, 35, .12), rgba(45, 140, 255, .05) 70%, transparent);
}

.cta-gridline {
    position: absolute;
    inset: 0;
    opacity: .25;
    background: repeating-linear-gradient(90deg, transparent 0 12.45%, rgba(255, 255, 255, .18) 12.5% 12.55%, transparent 12.6% 25%);
    mask-image: linear-gradient(90deg, black, transparent 70%);
}

.cta-band>*:not(.cta-gridline) {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin: .95rem 0 1.5rem;
    font-size: clamp(2.45rem, 5.7vw, 6.5rem);
    line-height: .9;
}

.cta-content p {
    max-width: 410px;
    margin: 0 0 1.7rem;
    color: #d1d8e3;
    font-size: .83rem;
    line-height: 1.8;
}

.page-intro {
    max-width: 1120px;
    padding-top: clamp(5rem, 11vw, 10rem);
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.page-intro h1 {
    max-width: 950px;
    margin-bottom: 1.3rem;
}

.page-intro>p:last-child {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(.92rem, 1.3vw, 1.08rem);
    line-height: 1.85;
}

.projects-page,
.services-page,
.contact-section,
.faq-page,
.blog-list {
    border-top: 1px solid var(--line);
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.project-tabs button {
    padding: .45rem .75rem;
    color: #bdc7d7;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: transparent;
    font-size: .7rem;
    cursor: pointer;
}

.project-tabs button.active,
.project-tabs button:hover {
    color: var(--ink);
    border-color: var(--amber);
    background: var(--amber);
}

.project-filter-item[hidden] {
    display: none;
}

.projects-grid {
    margin-top: 0;
}

.projects-grid .project-filter-item:first-child {
    grid-column: span 2;
}

.projects-grid .project-filter-item:first-child .project-card {
    min-height: 520px;
}

.faq-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: clamp(2rem, 7vw, 8rem);
}

.faq-accordion {
    border-top: 1px solid var(--line);
}

.faq-accordion details {
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.faq-accordion summary {
    display: flex;
    align-items: center;
    min-height: 79px;
    padding: .75rem 0;
    color: var(--paper);
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(.93rem, 1.5vw, 1.12rem);
    font-weight: 700;
    line-height: 1.35;
}

.faq-accordion summary:hover {
    color: var(--amber);
}

.faq-accordion summary span {
    width: 48px;
    flex: 0 0 48px;
}

.faq-accordion details>p {
    max-width: 760px;
    margin: 0;
    padding: 0 1rem 1.2rem 3rem;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.78;
}

.faq-help {
    position: sticky;
    top: 110px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(18, 31, 53, .88), rgba(12, 22, 39, .9));
}

.faq-help h2 {
    margin: 1.2rem 0 .75rem;
    font-size: 1.8rem;
}

.faq-help p:not(.signal-label) {
    margin: 0 0 1.3rem;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.75;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(400px, 1.14fr);
    gap: clamp(2rem, 9vw, 10rem);
}

.contact-left h2 {
    margin-bottom: 1rem;
}

.contact-left>p {
    max-width: 510px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.85;
}

.contact-email {
    display: inline-block;
    margin-top: 1rem;
    color: var(--amber);
    font-family: "IBM Plex Mono", monospace;
    font-size: .72rem;
    text-decoration: none;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 2rem;
    color: #d1d9e5;
    font-size: .72rem;
}

.contact-note span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.2rem, 3.5vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(21, 35, 58, .58), rgba(10, 20, 36, .4));
}

.contact-form label {
    display: grid;
    gap: .42rem;
    color: #d1d9e5;
    font-family: "IBM Plex Mono", monospace;
    font-size: .68rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .75rem;
    color: var(--paper);
    border: 1px solid rgba(230, 236, 246, .18);
    border-radius: 4px;
    outline: 0;
    background: rgba(6, 14, 27, .7);
    font-family: "Manrope", sans-serif;
    font-size: .84rem;
    transition: border 160ms var(--ease), background 160ms var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--amber);
    background: rgba(6, 14, 27, .96);
}

.form-notice {
    padding: .7rem .85rem;
    border-radius: 4px;
    font-size: .78rem;
}

.form-notice.success {
    color: #cdecd7;
    border: 1px solid rgba(116, 213, 146, .45);
    background: rgba(60, 145, 83, .2);
}

.form-notice.error {
    color: #ffd4d1;
    border: 1px solid rgba(235, 102, 92, .45);
    background: rgba(181, 54, 48, .2);
}

.contact-faq {
    border-top: 1px solid var(--line);
}

/* DevByAK editorial Blog archive: numbered field notes with native WordPress content. */
.blog-list { max-width:1320px; }
.blog-entries { border-top:1px solid var(--line); }
.blog-entry { position:relative; display:grid; grid-template-columns:clamp(3.1rem,6vw,5.1rem) minmax(0,1fr) 180px 2.3rem; grid-template-areas:"number content media arrow"; align-items:center; gap:clamp(.9rem,2vw,2rem); min-height:170px; padding:1.65rem 0; border-bottom:1px solid var(--line); transition:padding 200ms var(--ease),background 200ms var(--ease),border-color 200ms var(--ease); }
.blog-entry:not(.has-thumbnail) { grid-template-columns:clamp(3.1rem,6vw,5.1rem) minmax(0,1fr) 2.3rem; grid-template-areas:"number content arrow"; }
.blog-entry.is-featured { min-height:220px; margin:0 -1rem; padding:clamp(1.5rem,3vw,2.6rem) 1rem; border-color:rgba(245,166,35,.28); background:linear-gradient(100deg,rgba(245,166,35,.09),rgba(45,140,255,.055) 64%,transparent); }
.blog-entry:hover { padding-left:.85rem; border-color:rgba(245,166,35,.52); background:linear-gradient(90deg,rgba(245,166,35,.085),transparent 78%); }
.blog-entry.is-featured:hover { padding-left:1.85rem; }
.blog-entry-number { grid-area:number; align-self:start; padding-top:.35rem; color:var(--amber); font-family:"IBM Plex Mono",monospace; font-size:.69rem; font-weight:600; letter-spacing:.06em; }
.blog-entry-content { grid-area:content; min-width:0; }
.blog-entry-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.48rem; margin:0 0 .85rem; color:#92a0b5; font-family:"IBM Plex Mono",monospace; font-size:.6rem; font-weight:500; line-height:1.35; letter-spacing:.025em; text-transform:uppercase; }
.blog-entry-category { color:var(--amber); text-decoration:none; transition:color 160ms var(--ease); }
.blog-entry-category:hover { color:var(--amber-light); }
.blog-meta-separator { color:#58667a; }
.blog-entry h2 { max-width:870px; margin:0; font-size:clamp(1.22rem,2.35vw,2.25rem); line-height:1.08; }
.blog-entry.is-featured h2 { font-size:clamp(1.6rem,3.2vw,3rem); }
.blog-entry h2 a { color:var(--paper); text-decoration:none; transition:color 160ms var(--ease); }
.blog-entry h2 a:hover { color:var(--amber); }
.blog-entry-excerpt { max-width:690px; margin:.85rem 0 0; color:var(--muted); font-size:.76rem; line-height:1.75; }
.blog-entry-media { position:relative; grid-area:media; display:block; align-self:stretch; min-height:112px; overflow:hidden; border:1px solid rgba(231,238,249,.12); border-radius:5px; background:var(--navy-soft); }
.blog-entry-media:after { position:absolute; inset:0; background:linear-gradient(135deg,rgba(8,17,33,.08),rgba(8,17,33,.46)); content:""; pointer-events:none; transition:background 180ms var(--ease); }
.blog-entry-media img { width:100%; height:100%; min-height:112px; object-fit:cover; transition:transform 300ms var(--ease); }
.blog-entry:hover .blog-entry-media img { transform:scale(1.045); }
.blog-entry:hover .blog-entry-media:after { background:linear-gradient(135deg,rgba(245,166,35,.08),rgba(8,17,33,.28)); }
.blog-entry-arrow { grid-area:arrow; display:grid; place-items:center; width:2.2rem; height:2.2rem; color:var(--amber); border:1px solid transparent; border-radius:50%; font-size:1.18rem; line-height:1; text-decoration:none; transition:transform 180ms var(--ease),border-color 180ms var(--ease),background 180ms var(--ease); }
.blog-entry:hover .blog-entry-arrow { border-color:rgba(245,166,35,.55); background:rgba(245,166,35,.08); transform:translate(2px,-2px); }
.blog-entry a:focus-visible,.blog-pagination a:focus-visible { outline:2px solid var(--amber); outline-offset:4px; }
.blog-pagination { margin-top:clamp(2.5rem,5vw,4.5rem); }
.blog-pagination .nav-links { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; }
.blog-pagination a,.blog-pagination .current { display:inline-flex; align-items:center; justify-content:center; min-width:2.35rem; min-height:2.35rem; padding:.35rem .65rem; color:#d2d9e4; border:1px solid var(--line); border-radius:4px; font-family:"IBM Plex Mono",monospace; font-size:.66rem; text-decoration:none; transition:color 160ms var(--ease),border-color 160ms var(--ease),background 160ms var(--ease); }
.blog-pagination a:hover,.blog-pagination .current { color:var(--ink); border-color:var(--amber); background:var(--amber); }
.empty-state { padding:2rem 0; color:var(--muted); }

@media (max-width:840px) {
  .blog-entry,.blog-entry:not(.has-thumbnail) { grid-template-columns:48px minmax(0,1fr); grid-template-areas:"number content" "number media" "number arrow"; align-items:start; }
  .blog-entry:not(.has-thumbnail) { grid-template-areas:"number content" "number arrow"; }
  .blog-entry-media { width:100%; min-height:180px; margin-top:.25rem; }
  .blog-entry-media img { min-height:180px; }
  .blog-entry-arrow { margin-top:.35rem; }
}

@media (max-width:640px) {
  .blog-entry,.blog-entry:not(.has-thumbnail) { grid-template-columns:37px minmax(0,1fr); gap:.7rem; min-height:auto; padding:1.3rem 0; }
  .blog-entry.is-featured { margin:0 -.35rem; padding:1.45rem .35rem; }
  .blog-entry:hover { padding-left:.3rem; }
  .blog-entry.is-featured:hover { padding-left:.65rem; }
  .blog-entry-number { padding-top:.18rem; font-size:.61rem; }
  .blog-entry-meta { gap:.36rem; margin-bottom:.65rem; font-size:.54rem; }
  .blog-entry h2,.blog-entry.is-featured h2 { font-size:clamp(1.2rem,6.3vw,1.72rem); line-height:1.12; }
  .blog-entry-excerpt { margin-top:.65rem; font-size:.72rem; }
  .blog-entry-media,.blog-entry-media img { min-height:148px; }
  .blog-entry-arrow { width:2rem; height:2rem; font-size:1rem; }
  .blog-pagination { margin-top:2.3rem; }
}

.standard-content,
.single-post {
    max-width: 900px;
    border-top: 1px solid var(--line);
}

.standard-content>*:first-child,
.post-content>*:first-child {
    margin-top: 0;
}

.standard-content,
.post-content {
    color: #c0cad9;
}

.standard-content h2,
.standard-content h3,
.post-content h2,
.post-content h3 {
    margin-top: 2.5rem;
}

.standard-content p,
.post-content p,
.standard-content li,
.post-content li {
    color: #c0cad9;
    line-height: 1.85;
}

.single-post h1 {
    max-width: 950px;
}

.post-byline {
    margin: -.6rem 0 2rem;
    color: var(--muted);
    font-size: .78rem;
}

.post-hero-image {
    margin: 0 0 2.6rem;
    overflow: hidden;
    border-radius: 8px;
}

.post-hero-image img {
    width: 100%;
    height: auto;
}

.not-found {
    min-height: 65vh;
    padding-top: clamp(8rem, 15vw, 13rem);
}

.not-found>p:not(.signal-label) {
    max-width: 480px;
    margin: 0 0 1.5rem;
    color: var(--muted);
}

.site-footer {
    padding-top: clamp(3rem, 6vw, 6rem);
    padding-bottom: 1.6rem;
    border-top: 1px solid var(--line);
    background: #07101e;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 1.2fr) auto;
    align-items: start;
    gap: 2rem;
}

.footer-top p {
    max-width: 360px;
    margin: 0;
    color: #9eacc0;
    font-size: .75rem;
    line-height: 1.75;
}

.footer-email {
    color: var(--amber);
    font-family: "IBM Plex Mono", monospace;
    font-size: .7rem;
    text-decoration: none;
}

.footer-rule {
    height: 1px;
    margin: 3rem 0 1.2rem;
    background: var(--line);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-nav .menu {
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #c8d0dd;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: .45rem;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #cfd7e2;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-family: "IBM Plex Mono", monospace;
    font-size: .62rem;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--amber);
    border-color: var(--amber);
}

.copyright {
    margin-top: 1.4rem;
    color: #69758a;
    font-size: .63rem;
}

@media (max-width:980px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 3rem
    }

    .hero-art {
        width: 100%;
        max-width: 700px;
        min-height: 440px
    }

    .pillars-layout,
    .services-mini-grid,
    .service-page-grid,
    .expect-grid {
        grid-template-columns: 1fr;
        max-width: none
    }

    .pillar,
    .pillar:first-child {
        min-height: auto;
        padding: 1.5rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-left: 0
    }

    .pillar h3 {
        margin-top: 1.3rem
    }

    .about-section {
        grid-template-columns: 1fr
    }

    .home-projects,
    .projects-grid {
        grid-template-columns: 1fr 1fr
    }

    .home-projects .project-card:first-child,
    .projects-grid .project-filter-item:first-child {
        grid-column: span 2
    }

    .process-item {
        grid-template-columns: 60px 170px minmax(0, 1fr) auto
    }

    .faq-page {
        grid-template-columns: 1fr
    }

    .faq-help {
        position: static
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .footer-email {
        justify-self: start
    }

    .contact-section {
        grid-template-columns: 1fr
    }

    .header-cta {
        display: none
    }

    .primary-nav {
        display: none
    }

    .menu-toggle {
        display: grid;
        gap: 4px;
        width: 38px;
        height: 38px;
        padding: 10px;
        border: 0;
        background: transparent;
        cursor: pointer
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: var(--paper)
    }

    .mobile-nav {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        display: block;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        background: rgba(8, 17, 33, .98);
        transition: max-height 260ms var(--ease), border 260ms var(--ease)
    }

    .mobile-nav.is-open {
        max-height: 380px;
        border-color: var(--line)
    }

    .mobile-nav .menu {
        margin: 0;
        padding: 1rem clamp(1.25rem, 5.3vw, 6.2rem) 1.4rem;
        list-style: none
    }

    .mobile-nav li+li {
        border-top: 1px solid var(--line)
    }

    .mobile-nav a {
        display: block;
        padding: .85rem 0;
        color: #d3dbe7;
        font-size: .84rem;
        font-weight: 700;
        text-decoration: none
    }
}

@media (max-width:640px) {
    h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem)
    }

    .section-pad,
    .hero-section,
    .site-footer,
    .cta-band {
        padding-right: 1.25rem;
        padding-left: 1.25rem
    }

    .hero-section {
        padding-top: 3.5rem
    }

    .hero-art {
        min-height: 350px;
        box-shadow: .65rem .65rem 0 rgba(245, 166, 35, .09)
    }

    .home-projects,
    .projects-grid {
        grid-template-columns: 1fr
    }

    .home-projects .project-card:first-child,
    .projects-grid .project-filter-item:first-child {
        grid-column: auto
    }

    .project-card,
    .home-projects .project-card:first-child,
    .projects-grid .project-filter-item:first-child .project-card {
        min-height: 400px
    }

    .process-heading,
    .work-top {
        align-items: start;
        flex-direction: column
    }

    .process-item {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: .6rem;
        padding: 1.25rem 0
    }

    .process-item p {
        grid-column: 2/4
    }

  

    .faq-accordion details>p {
        padding-left: 0
    }

    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-rule {
        margin-top: 2rem
    }

    .page-intro {
        padding-top: 4.5rem
    }

    .projects-grid .project-filter-item:first-child .project-card {
        min-height: 400px
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/*
 * DevByAK Blog: desktop-only horizontal image display.
 *
 * Replace the previous "desktop image presentation and hover correction"
 * block with this block. Paste it at the absolute end of assets/css/devbyak.css.
 * No image zoom, tint, filter, overlay, or image-specific hover effect is used.
 */
@media (min-width:841px) {
  .blog-entry.has-thumbnail {
    grid-template-columns:clamp(3.1rem,6vw,5.1rem) minmax(0,1fr) clamp(17rem,22vw,20rem) 2.3rem;
  }

  .blog-entry.is-featured.has-thumbnail {
    grid-template-columns:clamp(3.1rem,6vw,5.1rem) minmax(0,1fr) clamp(21rem,27vw,25rem) 2.3rem;
  }

  .blog-entry.has-thumbnail .blog-entry-media {
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16 / 9;
    align-self:center;
    overflow:hidden;
  }

  .blog-entry.has-thumbnail .blog-entry-media:after {
    display:none;
  }

  .blog-entry.has-thumbnail .blog-entry-media img,
  .blog-entry.has-thumbnail:hover .blog-entry-media img {
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:center;
    filter:none;
    transform:none;
    transition:none;
  }
}

