/* ============================================================
 * AmaarDev Portfolio — Design System  v1.1.0
 * Mora-inspired: deep navy, Space Grotesk, square brutalist details.
 * Class prefix: adev-
 * ============================================================ */

:root {
    --adev-primary: #0A3981;
    --adev-primary-dark: #062a5e;
    --adev-dark: #131313;
    --adev-titles: #2d2d2d;
    --adev-text: #4d4d4d;
    --adev-muted: #777777;
    --adev-faint: #bfbfbf;
    --adev-light: #f8fafb;
    --adev-panel: #f0f0f0;
    --adev-panel-2: #e9e9e9;
    --adev-border: #131313;
    --adev-white: #ffffff;
    --adev-radius: 0;
    --adev-shadow-hard: 6px 6px 0 var(--adev-primary);
    --adev-font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --adev-font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
html, body { overflow-x: clip; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--adev-font);
    color: var(--adev-text);
    background: var(--adev-light);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.6em;
    line-height: 1.15;
    color: var(--adev-titles);
    font-family: var(--adev-font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--adev-primary); text-decoration: none; }
a:hover { color: var(--adev-primary-dark); }

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

::selection { background: var(--adev-primary); color: #fff; }

/* ---------- Layout ---------- */
.adev-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.adev-section { padding: 96px 0; }
.adev-section--dark { background: var(--adev-dark); color: #d7d7db; }
.adev-section--dark h1, .adev-section--dark h2, .adev-section--dark h3 { color: #fff; }
.adev-section--light { background: var(--adev-panel); }

/* Eyebrow: small blue caps label (Mora: "HELLO I'M") */
.adev-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--adev-primary);
    margin-bottom: 14px;
}

/* Section head: giant outlined word overlapped by solid uppercase title (Mora signature) */
.adev-section-head { margin-bottom: 56px; position: relative; }
.adev-outline {
    font-family: var(--adev-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(34px, 9.5vw, 120px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--adev-dark);
    margin-bottom: -0.15em;
    user-select: none;
    max-width: 100%;
}
.adev-section--dark .adev-outline { -webkit-text-stroke-color: #fff; }
.adev-section-title {
    font-size: clamp(28px, 4vw, 48px);
    text-transform: uppercase;
    margin: 0 0 12px;
    position: relative;
}
.adev-section-sub { color: var(--adev-muted); font-size: 16px; max-width: 640px; margin: 0; }
.adev-section--dark .adev-section-sub { color: #a9a9b0; }

/* ---------- Buttons (Mora brutalist) ---------- */
.adev-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    font-family: var(--adev-font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--adev-primary);
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    line-height: 1;
}
.adev-btn--primary { background: var(--adev-primary); color: #fff; }
.adev-btn--primary:hover {
    background: #fff;
    color: var(--adev-dark);
    transform: translateY(-1px);
    box-shadow: var(--adev-shadow-hard);
}
.adev-btn--outline { border-color: var(--adev-dark); color: var(--adev-dark); background: transparent; }
.adev-btn--outline:hover {
    background: var(--adev-primary);
    border-color: var(--adev-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--adev-shadow-hard);
}
.adev-btn--light { background: #fff; color: var(--adev-dark); border-color: #fff; }
.adev-btn--light:hover {
    background: var(--adev-primary);
    border-color: var(--adev-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 6px 6px 0 rgba(255,255,255,0.35);
}
.adev-btn--dark { background: var(--adev-dark); border-color: var(--adev-dark); color: #fff; }
.adev-btn--dark:hover {
    background: #fff;
    color: var(--adev-dark);
    transform: translateY(-1px);
    box-shadow: 6px 6px 0 var(--adev-dark);
}
.adev-btn + .adev-btn { margin-left: 12px; }

/* ---------- Header (Mora: sticky, blur on scroll) ---------- */
.adev-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.adev-header.is-scrolled {
    background: rgba(248, 250, 251, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(19,19,19,0.08);
}
.adev-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}
.adev-logo a {
    font-family: var(--adev-font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--adev-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.adev-logo a span { color: var(--adev-primary); }
.adev-logo img { max-height: 44px; width: auto; }
.adev-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 34px;
}
.adev-nav a {
    color: var(--adev-dark);
    font-family: var(--adev-font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.15s ease;
}
.adev-nav a:hover { color: var(--adev-primary); }
.adev-nav .current-menu-item a { color: var(--adev-primary); }
.adev-header__cta { margin-left: 28px; }
.adev-header__cta.adev-btn { padding: 13px 26px; }
.adev-menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}
.adev-menu-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--adev-dark);
    margin: 6px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero (Mora: eyebrow, giant outline name, typewriter, blob photo) ---------- */
.adev-hero { padding: 72px 0 96px; overflow: hidden; }
.adev-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.adev-hero__hello {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--adev-primary);
    margin-bottom: 18px;
}
.adev-hero__hello strong { color: var(--adev-primary); }
.adev-hero__title {
    font-size: clamp(56px, 8.5vw, 110px);
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.adev-hero__title .adev-outline-name {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2.5px var(--adev-dark);
}
.adev-hero__role {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 600;
    color: var(--adev-titles);
    margin-bottom: 20px;
}
.adev-hero__role .adev-typed { color: var(--adev-primary); }
.adev-typed-caret {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--adev-primary);
    margin-left: 4px;
    vertical-align: -0.12em;
    animation: adev-blink 1s steps(1) infinite;
}
@keyframes adev-blink { 50% { opacity: 0; } }
.adev-hero__text { color: var(--adev-muted); font-size: 16px; max-width: 520px; margin-bottom: 34px; }
.adev-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 44px; }
.adev-watch {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--adev-font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--adev-dark);
}
.adev-watch__play {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--adev-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.15s ease, transform 0.15s ease;
}
.adev-watch:hover .adev-watch__play { background: var(--adev-primary); transform: scale(1.06); }
.adev-hero__meta { display: flex; gap: 48px; }
.adev-hero__stat b {
    display: block;
    font-family: var(--adev-font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--adev-dark);
}
.adev-hero__stat span { font-size: 12px; color: var(--adev-muted); text-transform: uppercase; letter-spacing: 2px; }
.adev-hero__media { position: relative; justify-self: center; width: min(420px, 100%); }
.adev-hero__media img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
}
.adev-hero__media::after {
    content: "";
    position: absolute;
    inset: -14px -18px 10px 14px;
    border: 1px solid var(--adev-dark);
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
    pointer-events: none;
}
.adev-hero__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
    background-color: var(--adev-primary);
    background: linear-gradient(135deg, var(--adev-primary), var(--adev-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}
.adev-hero__placeholder span {
    font-family: var(--adev-font-display);
    font-weight: 700;
    font-size: clamp(72px, 9vw, 120px);
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 4px;
}
.adev-hero__badge {
    position: absolute;
    left: -30px; bottom: 36px;
    z-index: 2;
    background: #fff;
    border: 2px solid var(--adev-dark);
    padding: 14px 22px;
    text-align: center;
}
.adev-hero__badge b { display: block; font-family: var(--adev-font-display); font-size: 22px; color: var(--adev-primary); }

/* ---------- Marquee band (Mora signature) ---------- */
.adev-marquee {
    background: var(--adev-primary);
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
}
.adev-marquee__track {
    display: inline-flex;
    gap: 0;
    animation: adev-marquee 22s linear infinite;
}
.adev-marquee span {
    font-family: var(--adev-font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(28px, 4.5vw, 54px);
    color: #fff;
    padding: 0 28px;
    letter-spacing: 2px;
}
.adev-marquee span.is-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}
@keyframes adev-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Services (Mora: 2px bordered square cards) ---------- */
.adev-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.adev-service {
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: 40px 36px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.adev-service:hover { transform: translateY(-4px); box-shadow: var(--adev-shadow-hard); }
.adev-service__icon {
    font-size: 48px;
    line-height: 1;
    color: var(--adev-dark);
    margin-bottom: 24px;
}
.adev-service h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; text-transform: none; }
.adev-service p { color: var(--adev-muted); font-size: 15px; margin: 0 0 18px; font-weight: 300; }
.adev-service__link {
    font-family: var(--adev-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--adev-dark);
}
.adev-service__link:hover { color: var(--adev-primary); }

/* ---------- About (Mora: blob photo, checkmark grid) ---------- */
.adev-about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.adev-about__media { position: relative; justify-self: center; width: min(400px, 100%); }
.adev-about__media img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
}
.adev-about__media::after {
    content: "";
    position: absolute;
    inset: -12px -16px 8px 12px;
    border: 1px solid var(--adev-dark);
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
    pointer-events: none;
}
.adev-about__monogram {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border-radius: 51% 49% 77% 23% / 65% 50% 50% 35%;
    background: linear-gradient(135deg, var(--adev-primary), var(--adev-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}
.adev-about__monogram span {
    font-family: var(--adev-font-display);
    font-weight: 700;
    font-size: clamp(64px, 8vw, 110px);
    color: #fff;
}
.adev-about__content p { color: var(--adev-muted); }
.adev-about__checklist {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.adev-about__checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: var(--adev-titles);
    font-size: 15px;
}
.adev-about__checklist li::before {
    content: "✓";
    flex: 0 0 auto;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--adev-primary);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Timeline (Mora: center line, alternating, navy pills) ---------- */
.adev-timeline { margin-top: 72px; }
.adev-timeline__title { font-size: 24px; margin-bottom: 40px; text-transform: uppercase; }
.adev-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.adev-timeline__list::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--adev-panel-2);
    transform: translateX(-50%);
}
.adev-timeline__item {
    position: relative;
    width: calc(50% - 40px);
    margin-bottom: 40px;
    background: #fff;
    border: 2px solid var(--adev-dark);
    padding: 28px;
}
.adev-timeline__item:nth-child(odd) { margin-right: auto; }
.adev-timeline__item:nth-child(even) { margin-left: auto; }
.adev-timeline__item::before {
    content: "";
    position: absolute;
    top: 32px;
    width: 14px; height: 14px;
    background: var(--adev-primary);
    border-radius: 50%;
}
.adev-timeline__item:nth-child(odd)::before { right: -48px; }
.adev-timeline__item:nth-child(even)::before { left: -48px; }
.adev-timeline__org { font-weight: 700; font-size: 18px; color: var(--adev-titles); }
.adev-timeline__date {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--adev-primary);
    padding: 5px 14px;
    margin: 10px 0;
}
.adev-timeline__role { font-weight: 600; margin: 6px 0; color: var(--adev-titles); }
.adev-timeline__item p { color: var(--adev-muted); font-size: 14.5px; margin: 0; }

/* ---------- Skills (Mora: thin tracks, navy % badges) ---------- */
.adev-skills__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 56px;
}
.adev-skill__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--adev-titles);
}
.adev-skill__bar {
    height: 8px;
    background: var(--adev-panel-2);
    position: relative;
}
.adev-skill__fill {
    height: 100%;
    background: var(--adev-titles);
    position: relative;
}
.adev-skill__pct {
    position: absolute;
    right: -22px;
    top: -44px;
    background: var(--adev-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
}
.adev-skill__pct::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px; height: 10px;
    background: var(--adev-primary);
    transform: translateX(-50%) rotate(45deg);
}
/* Skills always sit on the dark section: light labels, navy fills. */
.adev-section--dark .adev-skill__head { color: #fff; }
.adev-section--dark .adev-skill__bar { background: rgba(255, 255, 255, 0.14); }
.adev-section--dark .adev-skill__fill { background: var(--adev-primary); }

/* ---------- Portfolio (Mora: borderless, hover caption) ---------- */
.adev-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.adev-filter button {
    font-family: var(--adev-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 2px solid var(--adev-dark);
    background: transparent;
    color: var(--adev-dark);
    cursor: pointer;
    border-radius: 0;
    transition: all 0.15s ease;
}
.adev-filter button:hover { border-color: var(--adev-primary); color: var(--adev-primary); }
.adev-filter button.is-active { background: var(--adev-primary); border-color: var(--adev-primary); color: #fff; }
.adev-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.adev-work {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}
.adev-work__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--adev-panel-2);
}
.adev-work__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.adev-work__caption {
    position: absolute;
    left: 10px; right: 10px; bottom: 10px;
    padding: 56px 22px 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.97) 30%, rgba(255,255,255,0));
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.adev-work:hover .adev-work__media img { transform: scale(1.05); }
.adev-work:hover .adev-work__media { box-shadow: inset 0 0 0 10px var(--adev-light); }
.adev-work:hover .adev-work__caption { opacity: 1; transform: translateY(0); }
.adev-work__caption h3 {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 4px;
}
.adev-work__caption h3 a { color: var(--adev-dark); }
.adev-work__cat {
    font-size: 12px;
    color: var(--adev-muted);
    letter-spacing: 1px;
}
.adev-work__body { padding: 18px 4px 0; }
.adev-work__body h3 { font-size: 18px; margin: 0 0 6px; text-transform: none; }
.adev-work__body h3 a { color: var(--adev-dark); }
.adev-work__body h3 a:hover { color: var(--adev-primary); }
.adev-work__body p { color: var(--adev-muted); font-size: 14.5px; margin: 0; }
.adev-portfolio__more { text-align: center; margin-top: 48px; }

/* ---------- Testimonials (Mora: bordered cards, overlapping avatars) ---------- */
.adev-testimonials { position: relative; }
.adev-tst__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.adev-tst {
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: 56px 32px 32px;
    margin-top: 40px;
    text-align: center;
    position: relative;
}
.adev-tst__who img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -40px; left: 50%;
    transform: translateX(-50%);
    border: 2px solid var(--adev-dark);
    filter: grayscale(1);
}
.adev-tst.is-active .adev-tst__who img { filter: none; }
.adev-tst__stars { color: var(--adev-primary); letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.adev-tst blockquote { margin: 0 0 22px; color: var(--adev-text); font-size: 15px; }
.adev-tst__who b { display: block; font-size: 16px; color: var(--adev-titles); }
.adev-tst__who span { font-size: 13px; color: var(--adev-muted); }
.adev-tst__nav { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.adev-tst__nav button {
    width: 46px; height: 46px;
    border: 2px solid var(--adev-dark);
    background: transparent;
    color: var(--adev-dark);
    font-size: 18px;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.15s ease;
}
.adev-tst__nav button:hover { background: var(--adev-primary); border-color: var(--adev-primary); color: #fff; }

/* ---------- Blog (Mora: bordered cards, avatar footer) ---------- */
.adev-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.adev-post-card {
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.adev-post-card:hover { transform: translateY(-4px); box-shadow: var(--adev-shadow-hard); }
.adev-post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--adev-panel-2); }
.adev-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.adev-post-card:hover .adev-post-card__media img { transform: scale(1.05); }
.adev-post-card__body { padding: 26px 28px; display: flex; flex-direction: column; flex: 1; }
.adev-post-card__date { font-size: 12px; color: var(--adev-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.adev-post-card h3 { font-size: 20px; margin: 10px 0; flex: 1; text-transform: none; }
.adev-post-card h3 a { color: var(--adev-titles); }
.adev-post-card h3 a:hover { color: var(--adev-primary); }
.adev-post-card__excerpt { color: var(--adev-muted); font-size: 14.5px; }
.adev-post-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--adev-panel-2);
}
.adev-post-card__author { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--adev-titles); }
.adev-post-card__author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* ---------- Contact (Mora: giant heading, icon rows, underline form) ---------- */
.adev-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.adev-contact__title {
    font-size: clamp(40px, 5.5vw, 72px);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 36px;
}
.adev-contact__row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.adev-contact__icon {
    flex: 0 0 auto;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--adev-primary);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.adev-contact__row div b {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--adev-titles);
    margin-bottom: 2px;
}
.adev-contact__row div span, .adev-contact__row div a { color: var(--adev-muted); font-size: 15px; }
.adev-contact__form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--adev-titles);
    margin-bottom: 6px;
}
.adev-contact__form input[type="text"],
.adev-contact__form input[type="email"],
.adev-contact__form textarea {
    width: 100%;
    border: 0;
    border-bottom: 3px solid var(--adev-dark);
    background: transparent;
    padding: 10px 2px 14px;
    font-family: var(--adev-font);
    font-size: 16px;
    color: var(--adev-text);
    margin-bottom: 28px;
    border-radius: 0;
}
.adev-contact__form input:focus,
.adev-contact__form textarea:focus {
    outline: none;
    border-bottom-color: var(--adev-primary);
}
.adev-contact__form textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer (Mora: minimal light) ---------- */
.adev-footer {
    background: var(--adev-light);
    border-top: 1px solid var(--adev-panel-2);
    padding: 36px 0;
}
.adev-footer__grid { display: none; }
.adev-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: var(--adev-muted);
}
.adev-footer__social { display: flex; gap: 12px; }
.adev-footer__social a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--adev-panel-2);
    color: var(--adev-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.15s ease;
}
.adev-footer__social a:hover { background: var(--adev-primary); color: #fff; }

/* ---------- Inner page head ---------- */
.adev-page-head {
    background: var(--adev-light);
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--adev-panel-2);
}
.adev-page-head h1 {
    color: var(--adev-titles);
    font-size: clamp(36px, 5vw, 60px);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.adev-page-head p { color: var(--adev-muted); margin: 0; max-width: 640px; }
.adev-page-head .adev-eyebrow { margin-bottom: 10px; }
.adev-content { padding: 72px 0; }
.adev-entry h2 { font-size: 28px; }
.adev-entry h3 { font-size: 22px; }
.adev-entry img { border-radius: 0; }
.adev-entry ul, .adev-entry ol { margin-bottom: 1em; }

/* ---------- Inner pages: CTA band / process / contact cards ---------- */
.adev-cta { padding-top: 0; }
.adev-cta__box {
    background: var(--adev-dark);
    border-radius: 0;
    padding: clamp(44px, 6vw, 76px);
    text-align: center;
    color: #d7d7db;
}
.adev-cta__box h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; margin-bottom: 12px; }
.adev-cta__box p { max-width: 560px; margin: 0 auto 30px; }
.adev-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.adev-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.adev-process__step {
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: 32px 26px;
}
.adev-process__num {
    font-family: var(--adev-font-display);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: var(--adev-primary);
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.adev-process__step h3 { font-size: 18px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.adev-process__step p { color: var(--adev-muted); font-size: 14.5px; margin: 0; }
.adev-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}
.adev-contact-card {
    display: block;
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.adev-contact-card:hover { transform: translateY(-4px); box-shadow: var(--adev-shadow-hard); }
.adev-contact-card__icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--adev-primary);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.adev-contact-card h3 { font-size: 17px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1.5px; }
.adev-contact-card p { color: var(--adev-muted); margin: 0; word-break: break-word; }
.adev-contact-form {
    max-width: 720px;
    margin: 0 auto 56px;
    background: #fff;
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: clamp(28px, 4vw, 48px);
}

/* ---------- Contact Form 7 (brutalist match) ---------- */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--adev-dark);
    border-radius: 0;
    padding: 14px 2px;
    font: inherit;
    color: var(--adev-text);
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-textarea:focus {
    outline: none;
    border-bottom-color: var(--adev-primary);
}
.wpcf7-form .wpcf7-submit {
    display: inline-block;
    padding: 16px 34px;
    font-family: var(--adev-font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    background: var(--adev-primary);
    border: 2px solid var(--adev-dark);
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wpcf7-form .wpcf7-submit:hover {
    background: #fff;
    color: var(--adev-dark);
    transform: translateY(-1px);
    box-shadow: var(--adev-shadow-hard);
}

/* ---------- Chat assistant (Mora: square, navy, brutalist) ---------- */
.adev-chat { position: fixed; right: 24px; bottom: 24px; z-index: 999; font-family: var(--adev-font); }
.adev-chat__toggle {
    width: 60px; height: 60px;
    background: var(--adev-primary); color: #fff;
    border: 2px solid var(--adev-dark); border-radius: 0;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 4px 4px 0 var(--adev-dark);
    transition: transform .15s ease, box-shadow .15s ease;
}
.adev-chat__toggle:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--adev-dark); }
.adev-chat__toggle svg { width: 26px; height: 26px; }
.adev-chat__toggle .adev-chat__icon-close { display: none; }
.adev-chat__toggle.is-open .adev-chat__icon-chat { display: none; }
.adev-chat__toggle.is-open .adev-chat__icon-close { display: block; }
.adev-chat__panel {
    position: absolute; right: 0; bottom: 76px;
    width: min(360px, calc(100vw - 48px));
    height: 480px; max-height: calc(100vh - 140px);
    background: #fff; border: 2px solid var(--adev-dark); border-radius: 0;
    display: flex; flex-direction: column;
    box-shadow: 8px 8px 0 rgba(19, 19, 19, .18);
    overflow: hidden;
}
.adev-chat__panel[hidden] { display: none; }
.adev-chat__header {
    background: var(--adev-primary); color: #fff;
    padding: 14px 16px; display: flex; align-items: center; gap: 10px;
    border-bottom: 2px solid var(--adev-dark); flex: 0 0 auto;
}
.adev-chat__dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.adev-chat__header div { flex: 1; line-height: 1.25; }
.adev-chat__header b { display: block; font-size: 14px; }
.adev-chat__header small { font-size: 11px; opacity: .85; }
.adev-chat__close { background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 4px; }
.adev-chat__messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--adev-light); }
.adev-chat__msg { max-width: 82%; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; border-radius: 0; }
.adev-chat__msg--bot { background: #fff; border: 1.5px solid var(--adev-dark); align-self: flex-start; color: var(--adev-text); }
.adev-chat__msg--bot a { color: var(--adev-primary); font-weight: 600; }
.adev-chat__msg--user { background: var(--adev-primary); color: #fff; align-self: flex-end; }
.adev-chat__typing span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--adev-muted); animation: adev-chat-blink 1s infinite; }
.adev-chat__typing span:nth-child(2) { animation-delay: .2s; }
.adev-chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes adev-chat-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.adev-chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--adev-panel-2); background: #fff; flex: 0 0 auto; }
.adev-chat__chip {
    font-size: 12px; font-weight: 600; padding: 7px 12px;
    background: #fff; border: 1.5px solid var(--adev-dark); border-radius: 0;
    cursor: pointer; transition: background .15s ease, color .15s ease;
}
.adev-chat__chip:hover { background: var(--adev-primary); border-color: var(--adev-primary); color: #fff; }
.adev-chat__form { display: flex; border-top: 2px solid var(--adev-dark); flex: 0 0 auto; }
.adev-chat__form input {
    flex: 1; border: 0; padding: 13px 14px; font: inherit; font-size: 13.5px; background: #fff; color: var(--adev-text);
}
.adev-chat__form input:focus { outline: none; }
.adev-chat__form button {
    background: var(--adev-primary); color: #fff; border: 0; border-left: 2px solid var(--adev-dark);
    padding: 0 20px; font-family: var(--adev-font-display); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
}
.adev-chat__form button:hover { background: var(--adev-primary-dark); }
@media (max-width: 560px) {
    .adev-chat { right: 16px; bottom: 16px; }
    .adev-chat__panel { bottom: 72px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .adev-hero__grid, .adev-about__grid, .adev-contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .adev-hero__media, .adev-about__media { order: -1; }
    .adev-services__grid, .adev-portfolio__grid, .adev-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .adev-tst__track { grid-template-columns: 1fr 1fr; }
    .adev-process { grid-template-columns: repeat(2, 1fr); }
    .adev-timeline__list::before { left: 20px; }
    .adev-timeline__item { width: calc(100% - 60px); margin-left: 60px !important; margin-right: 0 !important; }
    .adev-timeline__item::before { left: -48px !important; right: auto !important; }
}
@media (max-width: 768px) {
    .adev-section { padding: 64px 0; }
    .adev-nav {
        display: none;
        position: absolute;
        top: 84px; left: 0; right: 0;
        background: var(--adev-light);
        border-bottom: 2px solid var(--adev-dark);
        padding: 12px 24px 24px;
    }
    .adev-nav.is-open { display: block; }
    .adev-nav ul { flex-direction: column; gap: 6px; }
    .adev-nav a { display: block; padding: 10px 0; font-size: 15px; }
    .adev-menu-toggle { display: block; }
    .adev-header__cta { display: none; }
    .adev-hero__meta { gap: 28px; flex-wrap: wrap; }
    .adev-hero__badge { left: -6px; bottom: 14px; padding: 10px 16px; }
    .adev-hero__badge b { font-size: 18px; }
    .adev-hero__badge span { font-size: 12px; }
    .adev-skills__grid { grid-template-columns: 1fr; }
    .adev-contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .adev-services__grid, .adev-portfolio__grid, .adev-blog__grid, .adev-tst__track, .adev-process { grid-template-columns: 1fr; }
    .adev-hero__actions .adev-btn { width: 100%; justify-content: center; }
    .adev-btn + .adev-btn { margin-left: 0; }
    .adev-footer__bottom { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------------------------
 * WordPress core classes (Theme Check recommended)
 * ------------------------------------------------------------------------- */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: #6b6b72; }
.sticky { position: relative; }
.gallery-caption { font-size: 14px; color: #6b6b72; }
.bypostauthor { font-weight: inherit; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
