/* Salih Ahmetspahic — landing page */

:root {
    --aws-orange: #ff9900;
    --aws-orange-dim: rgba(255, 153, 0, 0.14);
    --aws-orange-glow: rgba(255, 153, 0, 0.25);
    --bg: #fafafa;
    --bg-alt: #f0f0f0;
    --surface: #ffffff;
    --ink: #0a0a0a;
    --ink-muted: #525252;
    --ink-faint: #737373;
    --border: rgba(10, 10, 10, 0.08);
    --border-strong: rgba(10, 10, 10, 0.14);
    --header-bg: rgba(250, 250, 250, 0.88);
    --shadow: 0 4px 24px rgba(10, 10, 10, 0.06);
    --shadow-lg: 0 24px 64px rgba(10, 10, 10, 0.1);
    --radius: 14px;
    --radius-sm: 8px;
    --font: "Inter", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --max: 1140px;
    --nav-h: 72px;
    color-scheme: light;
}

[data-theme="dark"] {
    --aws-orange-dim: rgba(255, 153, 0, 0.12);
    --aws-orange-glow: rgba(255, 153, 0, 0.18);
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --surface: #161616;
    --ink: #f5f5f5;
    --ink-muted: #a3a3a3;
    --ink-faint: #737373;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --header-bg: rgba(10, 10, 10, 0.92);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.48);
    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--aws-orange);
}

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

/* ── Header ── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-h);
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.brand:hover {
    color: var(--ink);
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
}

.brand__mark::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--aws-orange);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.brand__mark--sm {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.62rem;
}

.brand__name {
    display: none;
}

@media (min-width: 640px) {
    .brand__name {
        display: inline;
    }
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

@media (min-width: 960px) {
    .nav-toggle {
        display: none;
    }
}

.site-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-nav.is-open {
    display: flex;
}

@media (min-width: 960px) {
    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
        background: transparent;
        border: none;
    }

    .site-nav a:not(.btn) {
        padding: 0.45rem 0.75rem;
        color: var(--ink-muted);
        text-decoration: none;
        font-size: 0.9375rem;
        font-weight: 500;
        border-radius: var(--radius-sm);
        transition: color 0.15s, background 0.15s;
    }

    .site-nav a:not(.btn):hover {
        color: var(--ink);
        background: var(--border);
    }
}

/* Lang switch & theme */

.lang-switch {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0.2rem;
    border-radius: var(--radius-sm);
    background: var(--border);
    margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
    .lang-switch {
        margin-bottom: 0;
    }
}

.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s, background 0.15s, box-shadow 0.15s;
}

.lang-switch__btn.is-active {
    opacity: 1;
    background: var(--surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lang-switch__flag {
    display: block;
    border-radius: 2px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
    .theme-toggle {
        margin-bottom: 0;
    }
}

.theme-toggle__icon {
    color: var(--ink-faint);
    opacity: 0.45;
    transition: opacity 0.15s, color 0.15s;
}

.theme-toggle__icon.is-active {
    opacity: 1;
    color: var(--aws-orange);
}

.theme-toggle__switch {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.theme-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle__track {
    display: block;
    width: 2.5rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--border-strong);
    transition: background 0.2s;
}

.theme-toggle__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(1.35rem - 4px);
    height: calc(1.35rem - 4px);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.theme-toggle__input:checked + .theme-toggle__track {
    background: var(--aws-orange-dim);
}

.theme-toggle__input:checked + .theme-toggle__track .theme-toggle__thumb {
    transform: translateX(1.15rem);
    background: var(--aws-orange);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.btn--primary:hover {
    background: #222;
    color: var(--bg);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .btn--primary {
    background: var(--ink);
    color: #0a0a0a;
}

[data-theme="dark"] .btn--primary:hover {
    background: #e5e5e5;
    color: #0a0a0a;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border-strong);
}

.btn--ghost:hover {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--ink-muted);
}

.btn--sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* Hero */

.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

@media (min-width: 960px) {
    .hero {
        padding: 5.5rem 0 4rem;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero__glow--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -50px;
    background: var(--aws-orange-glow);
}

.hero__glow--2 {
    width: 300px;
    height: 300px;
    bottom: 0;
    left: -80px;
    background: rgba(10, 10, 10, 0.04);
}

[data-theme="dark"] .hero__glow--2 {
    background: rgba(255, 255, 255, 0.03);
}

.hero__layout {
    position: relative;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero__layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--aws-orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hero__title em {
    font-style: normal;
    color: var(--aws-orange);
}

.hero__lead {
    margin: 0 0 1.75rem;
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 34rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.hero__meta strong {
    color: var(--ink);
    font-weight: 600;
}

.hero__visual {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
}

.hero__portrait {
    position: relative;
    z-index: 2;
    width: 220px;
    margin: 0 auto -3.25rem;
}

.hero__portrait-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 12%;
    border-radius: 50%;
    border: 3px solid var(--surface);
    background: var(--bg-alt);
    box-shadow:
        0 0 0 1px var(--border-strong),
        0 12px 40px rgba(10, 10, 10, 0.12);
}

[data-theme="dark"] .hero__portrait-img {
    box-shadow:
        0 0 0 1px var(--border-strong),
        0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero__portrait::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--aws-orange);
    opacity: 0.55;
    pointer-events: none;
}

.hero__terminal {
    position: relative;
    z-index: 1;
}

@media (min-width: 960px) {
    .hero__portrait {
        width: 260px;
        margin-bottom: -3.75rem;
    }
}

/* Terminal */

.terminal {
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: #0d0d0d;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.terminal__bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
    margin-left: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #737373;
}

.terminal__body {
    padding: 1.25rem 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #d4d4d4;
    min-height: 180px;
}

.terminal__prompt {
    color: var(--aws-orange);
}

.terminal__line--success span {
    color: #4ade80;
}

.terminal__line--done span {
    color: #a3a3a3;
}

.terminal__cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--aws-orange);
    margin-top: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Trust bar */

.trust-bar {
    border-block: 1px solid var(--border);
    background: var(--surface);
}

.trust-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    padding: 1.25rem 0;
}

.trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.15s ease;
}

.trust-bar__item:hover {
    color: var(--aws-orange);
}

.trust-bar__icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--aws-orange);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.trust-bar__item:hover .trust-bar__icon {
    transform: scale(1.08);
}

/* Sections */

.section {
    padding: 4.5rem 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section--contact {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.section__header {
    max-width: 38rem;
    margin-bottom: 2.5rem;
}

.section__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aws-orange);
}

.section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section__lead {
    margin: 0;
    color: var(--ink-muted);
    font-size: 1.0625rem;
}

/* Cards */

.cards {
    display: grid;
    gap: 1.25rem;
}

.cards--3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .cards--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.section--alt .card {
    background: var(--bg);
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--ink);
}

.card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card__icon--aws {
    background: var(--aws-orange-dim);
    color: var(--aws-orange);
}

.card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.card__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* AWS grid */

.aws-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .aws-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .aws-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.aws-group {
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.section--alt .aws-group {
    background: var(--bg);
}

.aws-group__title {
    margin: 0 0 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.aws-group__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.aws-chip {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
    transition: border-color 0.15s, background 0.15s;
}

.aws-chip:hover {
    border-color: var(--aws-orange);
    background: var(--aws-orange-dim);
}

/* Code showcase */

.code-showcase {
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: #0d0d0d;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-showcase__tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #141414;
}

.code-showcase__tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #737373;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    border-bottom: 2px solid transparent;
}

.code-showcase__tab:hover {
    color: #d4d4d4;
}

.code-showcase__tab.is-active {
    color: var(--aws-orange);
    border-bottom-color: var(--aws-orange);
    background: rgba(255, 153, 0, 0.06);
}

.code-panel {
    display: none;
}

.code-panel.is-active {
    display: block;
}

.code-block {
    margin: 0;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #d4d4d4;
    tab-size: 2;
}

.code-block code {
    font-family: inherit;
}

.tok-kw { color: #c586c0; }
.tok-type { color: #4ec9b0; }
.tok-fn { color: #dcdcaa; }
.tok-str { color: #ce9178; }
.tok-num { color: #b5cea8; }
.tok-cmt { color: #6a9955; }

/* Contact */

.contact__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 960px) {
    .contact__grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
        align-items: start;
    }
}

.contact__direct {
    margin: 1.5rem 0 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

.contact__email-toggle {
    margin-left: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.contact__email-toggle:hover {
    color: var(--aws-orange);
}

.contact__email-link {
    font-weight: 600;
    margin-left: 0.35rem;
    color: var(--ink);
    text-decoration: none;
}

.contact__email-link:hover {
    color: var(--aws-orange);
}

.contact-form {
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
}

.contact-form__botcheck {
    display: none;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 540px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--aws-orange);
    box-shadow: 0 0 0 3px var(--aws-orange-dim);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: var(--ink-faint);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
}

.form-feedback {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.form-feedback--success {
    background: rgba(74, 222, 128, 0.12);
    color: #16a34a;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

[data-theme="dark"] .form-feedback--success {
    color: #4ade80;
}

.form-feedback--error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .form-feedback--error {
    color: #f87171;
}

/* Footer */

.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer__brand strong {
    display: block;
    font-size: 0.9375rem;
}

.site-footer__brand span {
    display: block;
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

.site-footer__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ink-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.site-footer__built {
    margin: 0;
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer__built {
        width: auto;
        text-align: right;
    }
}

/* Reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile nav links */

@media (max-width: 959px) {
    .site-nav a:not(.btn) {
        padding: 0.65rem 0.75rem;
        color: var(--ink);
        text-decoration: none;
        font-weight: 500;
        border-radius: var(--radius-sm);
    }

    .site-nav a:not(.btn):hover {
        background: var(--border);
    }

    .site-nav .btn {
        margin-top: 0.5rem;
        width: 100%;
    }
}
