/*
Theme Name: ADEPT 1.3.16
Theme URI: https://example.com/adept
Author: ADEPT
Author URI: https://example.com
Description: A lightweight dark WordPress theme for the ADEPT hardware sequencer.
Version: 1.3.16
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: adept
*/
:root {
    --adept-bg: #000000;
    --adept-panel: #111111;
    --adept-panel-soft: #151515;
    --adept-border: #2a2a2a;
    --adept-text: #f2f2f2;
    --adept-muted: #9b9b9b;
    --adept-orange: #FF0000;
    --adept-yellow: #ffd43b;
    --adept-blue: #3b82ff;
    --adept-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--adept-bg);
    color: var(--adept-text);
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    line-height: 1.65;
}

body::before {
    content: "";
    display: none;
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

p {
    margin: 0 0 1rem;
    color: var(--adept-muted);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--adept-text);
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(3.4rem, 11vw, 8.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3.4rem);
    font-weight: 600;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

table {
    border-collapse: collapse;
    width: 100%;
}

input,
textarea,
button {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.adept-container {
    width: min(100% - 32px, var(--adept-max));
    margin-inline: auto;
}

.adept-narrow {
    max-width: 760px;
}

.adept-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--adept-border);
    backdrop-filter: blur(12px);
}

.adept-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.adept-logo {
    display: flex;
    align-items: center;
    width: 180px;
    height: 42px;
    color: var(--adept-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.adept-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.adept-nav__list,
.adept-nav ul,
.adept-nav__extra {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.adept-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.adept-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    color: var(--adept-muted);
    font-size: 0.88rem;
}

.adept-nav__extra {
    margin-left: 8px;
}

.adept-nav a:hover,
.adept-nav .current-menu-item > a {
    border-color: var(--adept-border);
    color: var(--adept-text);
    background: var(--adept-panel);
}

.adept-site-main {
    min-height: 70vh;
}

.adept-section {
    padding: 92px 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.72);
}

.adept-section--tight {
    padding-top: 24px;
}

.adept-page-hero {
    padding-bottom: 48px;
}

.adept-hero {
    padding-top: 110px;
}

.adept-hero__grid,
.adept-page-grid,
.adept-two-column,
.adept-web-editor,
.adept-concept,
.adept-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: 48px;
}

.adept-hero__lead {
    max-width: 720px;
    font-size: clamp(1rem, 1.8vw, 1.28rem);
}

.adept-hero-logo-slot {
    display: grid;
    place-items: center;
    width: min(100%, 620px);
    aspect-ratio: 620 / 190;
    border: 0;
    outline: 0;
    background: #000000;
}

.adept-hero-logo-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.adept-eyebrow {
    margin: 0 0 16px;
    color: var(--adept-orange);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.adept-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.adept-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
    color: var(--adept-text);
    cursor: pointer;
}

.adept-button:hover {
    border-color: var(--adept-muted);
}

.adept-button--primary {
    border-color: var(--adept-orange);
    background: var(--adept-orange);
    color: #050505;
    font-weight: 700;
}

.adept-button--disabled {
    color: var(--adept-muted);
    cursor: default;
    opacity: 0.68;
    pointer-events: none;
}

.adept-media {
    display: grid;
    place-items: center;
    min-height: 260px;
    border: 1px solid var(--adept-border);
    background:
        linear-gradient(135deg, rgba(255, 138, 0, 0.08), transparent 42%),
        var(--adept-panel);
    color: var(--adept-muted);
    text-transform: uppercase;
    font-size: 0.76rem;
}

.adept-media--hero {
    min-height: 440px;
}

.adept-media--product {
    min-height: 360px;
}

.adept-media--wide {
    min-height: 320px;
}

.adept-video {
    overflow: hidden;
    padding: 0;
    background: #000000;
}

.adept-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

.adept-media--image {
    overflow: hidden;
    padding: 0;
    background: #050505;
    text-transform: none;
}

.adept-media--image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

.adept-large-picture {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
    color: var(--adept-muted);
    text-transform: uppercase;
    font-size: 0.76rem;
}

.adept-large-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.adept-editor-link {
    overflow: hidden;
    padding: 0;
    text-transform: none;
}

.adept-editor-link img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.2s ease;
}

.adept-editor-link:hover img {
    transform: scale(1.025);
}

.adept-section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.adept-card-grid,
.adept-media-grid,
.adept-purchase-grid {
    display: grid;
    gap: 16px;
}

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

.adept-card-grid--four,
.adept-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adept-card {
    padding: 24px;
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
}

.adept-card p {
    margin-top: 14px;
    margin-bottom: 0;
}

.adept-card__index {
    display: inline-block;
    margin-bottom: 28px;
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 0.9;
}

.adept-orange {
    color: var(--adept-orange);
}

.adept-yellow {
    color: var(--adept-yellow);
}

.adept-blue {
    color: var(--adept-blue);
}

.adept-media-card {
    margin: 0;
}

.adept-media-card .adept-media {
    aspect-ratio: 4 / 3;
    min-height: 220px;
}

.adept-media-card figcaption {
    display: grid;
    gap: 4px;
    padding: 14px 0 0;
}

.adept-media-card strong {
    color: var(--adept-text);
    font-size: 0.9rem;
}

.adept-media-card span {
    color: var(--adept-muted);
    font-size: 0.82rem;
}

.adept-concept p,
.adept-web-editor p,
.adept-page-hero p,
.adept-cta p {
    max-width: 680px;
    margin-top: 20px;
}

.adept-route-diagram {
    display: grid;
    gap: 12px;
}

.adept-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    padding: 0 18px;
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
    color: var(--adept-text);
}

.adept-route > span:last-child {
    color: var(--adept-muted);
}

.adept-route-options {
    position: relative;
    display: block;
    width: clamp(9.5rem, 20vw, 13rem);
    height: 1.35em;
    overflow: hidden;
    text-align: right;
    white-space: nowrap;
}

.adept-route-options span {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(0.65em);
    animation: adept-route-option-cycle 12s infinite;
}

.adept-route-options span:nth-child(1) {
    animation-delay: 0s;
}

.adept-route-options span:nth-child(2) {
    animation-delay: 2s;
}

.adept-route-options span:nth-child(3) {
    animation-delay: 4s;
}

.adept-route-options span:nth-child(4) {
    animation-delay: 6s;
}

.adept-route-options span:nth-child(5) {
    animation-delay: 8s;
}

.adept-route-options span:nth-child(6) {
    animation-delay: 10s;
}

@keyframes adept-route-option-cycle {
    0%,
    12% {
        opacity: 0;
        transform: translateY(0.65em);
    }

    17%,
    28% {
        opacity: 1;
        transform: translateY(0);
    }

    33%,
    100% {
        opacity: 0;
        transform: translateY(-0.65em);
    }
}

.adept-route--orange {
    border-left: 4px solid var(--adept-orange);
}

.adept-route--yellow {
    border-left: 4px solid var(--adept-yellow);
}

.adept-route--blue {
    border-left: 4px solid var(--adept-blue);
}

.adept-spec-table {
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
}

.adept-spec-table th,
.adept-spec-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--adept-border);
    text-align: left;
}

.adept-spec-table tr:last-child th,
.adept-spec-table tr:last-child td {
    border-bottom: 0;
}

.adept-spec-table th {
    width: 52%;
    color: var(--adept-text);
    font-weight: 500;
}

.adept-spec-table td {
    color: var(--adept-muted);
}

.adept-cta {
    border-bottom: 0;
}

.adept-cta__inner {
    padding: 34px;
    border: 1px solid var(--adept-border);
    background: var(--adept-panel);
}

.adept-cta__inner .adept-button {
    justify-self: end;
}

.adept-purchase-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
}

.adept-product-panel {
    min-height: 100%;
}

.adept-detail-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 26px;
}

.adept-detail-list div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--adept-border);
}

.adept-detail-list dt {
    color: var(--adept-muted);
}

.adept-detail-list dd {
    margin: 0;
    color: var(--adept-text);
}

.adept-check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.adept-check-list li {
    color: var(--adept-muted);
}

.adept-check-list li::before {
    content: "/";
    margin-right: 10px;
    color: var(--adept-orange);
}

.adept-commerce-slot {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--adept-border);
}

.adept-updater-panel p {
    margin-top: 14px;
}

.adept-updater-frame {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 1px solid var(--adept-border);
    background: #000000;
}

.adept-contact-layout {
    max-width: 820px;
}

.adept-form-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--adept-border);
    background: #080808;
}

.adept-form-alert--success {
    border-color: rgba(35, 197, 94, 0.7);
    color: #86efac;
}

.adept-form-alert--error {
    border-color: rgba(255, 0, 0, 0.7);
    color: #ff8a8a;
}

.adept-form {
    display: grid;
    gap: 16px;
}

.adept-form label {
    display: grid;
    gap: 8px;
    color: var(--adept-muted);
    font-size: 0.9rem;
}

.adept-form input,
.adept-form textarea {
    width: 100%;
    border: 1px solid var(--adept-border);
    background: #080808;
    color: var(--adept-text);
    padding: 13px 14px;
}

.adept-form input:focus,
.adept-form textarea:focus {
    outline: 1px solid var(--adept-orange);
    border-color: var(--adept-orange);
}

.wpcf7-form {
    display: grid;
    gap: 16px;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    border: 1px solid var(--adept-border);
    background: #080808;
    color: var(--adept-text);
    padding: 13px 14px;
}

.wpcf7-submit {
    width: auto;
    border-color: var(--adept-orange) !important;
    background: var(--adept-orange) !important;
    color: #050505 !important;
    font-weight: 700;
    cursor: pointer;
}

.adept-site-footer {
    border-top: 1px solid var(--adept-border);
    background: #000000;
}

.adept-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 116px;
    color: var(--adept-muted);
    font-size: 0.85rem;
}

.adept-footer-inner p {
    margin: 0;
}

.adept-footer-links {
    display: flex;
    gap: 16px;
}

.adept-footer-links a:hover {
    color: var(--adept-text);
}

@media (max-width: 940px) {
    .adept-hero__grid,
    .adept-page-grid,
    .adept-two-column,
    .adept-web-editor,
    .adept-concept,
    .adept-cta__inner {
        grid-template-columns: 1fr;
    }

    .adept-card-grid--three,
    .adept-card-grid--four,
    .adept-media-grid,
    .adept-purchase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adept-cta__inner .adept-button {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .adept-container {
        width: min(100% - 24px, var(--adept-max));
    }

    .adept-header-inner,
    .adept-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 18px 0;
    }

    .adept-nav__list,
    .adept-nav ul {
        flex-wrap: wrap;
    }

    .adept-nav a {
        padding-inline: 10px;
    }

    .adept-section {
        padding: 64px 0;
    }

    .adept-hero {
        padding-top: 72px;
    }

    .adept-card-grid--three,
    .adept-card-grid--four,
    .adept-media-grid,
    .adept-purchase-grid {
        grid-template-columns: 1fr;
    }

    .adept-media--hero,
    .adept-media--product,
    .adept-media--wide,
    .adept-media {
        min-height: 220px;
    }

    .adept-video iframe,
    .adept-large-picture {
        min-height: 220px;
    }

    .adept-updater-frame {
        min-height: 680px;
    }

    .adept-route,
    .adept-detail-list div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-block: 14px;
    }

    .adept-route-options {
        justify-self: start;
        text-align: left;
    }

    .adept-spec-table th,
    .adept-spec-table td {
        display: block;
        width: 100%;
    }

    .adept-spec-table th {
        padding-bottom: 4px;
        border-bottom: 0;
    }

    .adept-spec-table td {
        padding-top: 0;
    }
}

