
/* =========================================
   ATHEIST HOSTING — EDITORIAL DESIGN SYSTEM
   ========================================= */

:root {
    --bg: #11120f;
    --bg-alt: #171815;
    --panel: #1c1d19;
    --panel-light: #22231f;
    --border: #33342d;
    --text: #f1f0e9;
    --text-soft: #b1b1a7;
    --text-muted: #77786e;
    --accent: #c5c9ad;
    --accent-dark: #373d2f;

    --max-width: 1320px;
    --padding: 5vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    font: inherit;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* =========================================
   LOADER
   ========================================= */

#ah-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity .7s ease, visibility .7s ease;
}

.ah-loader-content {
    width: 240px;
    text-align: center;
}

.ah-loader-content h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 8px;
}

.ah-loader-line {
    height: 2px;
    width: 100%;
    background: #33342d;
    margin-top: 24px;
    overflow: hidden;
}

.ah-loader-progress {
    height: 100%;
    width: 40%;
    background: var(--accent);
    animation: ah-loading 1.4s ease-in-out infinite;
}

.ah-loader-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes ah-loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

/* =========================================
   HEADER
   ========================================= */

.ah-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.ah-nav {
    max-width: var(--max-width);
    width: 90%;
    min-height: 90px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.ah-logo {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.ah-logo span {
    color: var(--accent);
}

.ah-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ah-nav-links a {
    color: var(--text-soft);
    font-size: 13px;
    transition: color .25s ease;
}

.ah-nav-links a:hover {
    color: var(--text);
}

.ah-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ah-login {
    color: var(--text-soft);
    font-size: 13px;
}

.ah-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
    font-size: 12px;
    font-weight: 600;
    transition: background .3s ease;
}

.ah-nav-cta:hover {
    background: var(--accent);
}

.ah-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ah-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text);
    margin: 6px 0;
}

/* =========================================
   HERO
   ========================================= */

.ah-hero {
    max-width: var(--max-width);
    width: 90%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 80px;
}

.ah-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 65px;
}

.ah-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-soft);
}

.ah-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.ah-hero-index {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.ah-hero-heading {
    font-size: clamp(2.5rem, 5.1vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 1050px;
}

.ah-heading-outline {
    color: var(--text-soft);
}

.ah-hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 100px;
    align-items: end;
    margin-top: 80px;
}

.ah-hero-description {
    max-width: 400px;
}

.ah-hero-description p {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.ah-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 16px 22px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 11px;
    letter-spacing: 1px;
    transition: background .3s ease, color .3s ease, border .3s ease;
}

.ah-button:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.ah-button span {
    font-size: 17px;
}

/* HERO VISUAL */

.ah-hero-visual {
    position: relative;
    min-height: 420px;
    background: #1c1d19;
    border: 1px solid var(--border);
    overflow: hidden;
}

.ah-visual-top,
.ah-visual-bottom {
    position: absolute;
    left: 25px;
    right: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.ah-visual-top {
    top: 22px;
}

.ah-visual-bottom {
    bottom: 22px;
}

.ah-visual-main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-visual-ring {
    position: absolute;
    border: 1px solid rgba(197,201,173,.18);
    border-radius: 50%;
}

.ah-ring-one {
    width: 150px;
    height: 150px;
}

.ah-ring-two {
    width: 230px;
    height: 230px;
}

.ah-ring-three {
    width: 310px;
    height: 310px;
}

.ah-visual-core {
    width: 100px;
    height: 100px;
    background: var(--accent);
    color: #151610;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    z-index: 2;
}

.ah-visual-core span {
    font-family: monospace;
}

/* =========================================
   SCROLL INDICATOR
   ========================================= */

.ah-hero-scroll {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.ah-scroll-line {
    width: 70px;
    height: 1px;
    background: var(--text-muted);
}

/* =========================================
   SECTION LABEL
   ========================================= */

.ah-section-label {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 2px;
}

/* =========================================
   INTRO
   ========================================= */

.ah-intro {
    padding: 130px 5%;
    border-top: 1px solid var(--border);
}

.ah-intro-content {
    max-width: var(--max-width);
    margin: 65px auto 0;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 100px;
    align-items: end;
}

.ah-intro-content h2 {
    font-size: clamp(45px, 6vw, 85px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -4px;
}

.ah-intro-content h2 span {
    display: block;
    color: var(--text-muted);
}

.ah-intro-content p {
    color: var(--text-soft);
    line-height: 2;
    max-width: 450px;
}

/* =========================================
   SERVICES
   ========================================= */

.ah-services {
    padding: 120px 5%;
    background: var(--bg-alt);
}

.ah-section-header {
    max-width: var(--max-width);
    margin: auto;
}

.ah-section-header h2 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -5px;
    margin-top: 50px;
}

.ah-section-header p {
    color: var(--text-soft);
    margin-top: 25px;
}

.ah-services-grid {
    max-width: var(--max-width);
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.ah-service {
    position: relative;
    min-height: 310px;
    padding: 35px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .3s ease;
}

.ah-service:hover {
    background: #22231f;
}

.ah-service-number {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.ah-service-icon {
    width: 65px;
    height: 65px;
    margin-top: 35px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--accent);
    transition: transform .3s ease;
}

.ah-service:hover .ah-service-icon {
    transform: translateY(-5px);
}

.ah-service h3 {
    margin-top: 25px;
    font-size: 24px;
    font-weight: 500;
}

.ah-service p {
    color: var(--text-soft);
    font-size: 13px;
    margin-top: 10px;
    max-width: 260px;
}

.ah-service-arrow {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 20px;
    color: var(--text-muted);
    transition: color .3s ease;
}

.ah-service:hover .ah-service-arrow {
    color: var(--text);
}

/* =========================================
   APPROACH
   ========================================= */

.ah-approach {
    padding: 130px 5%;
}

.ah-approach-layout {
    max-width: var(--max-width);
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.ah-approach-layout h2 {
    font-size: clamp(50px, 6vw, 85px);
    font-weight: 500;
    letter-spacing: -4px;
    line-height: 1.05;
}

.ah-approach-layout h2 span {
    color: var(--text-muted);
}

.ah-approach-items {
    border-top: 1px solid var(--border);
}

.ah-approach-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
}

.ah-approach-item > span {
    color: var(--text-muted);
    font-size: 11px;
}

.ah-approach-item h3 {
    font-size: 22px;
    font-weight: 500;
}

.ah-approach-item p {
    color: var(--text-soft);
    margin-top: 10px;
    max-width: 400px;
}

/* =========================================
   INFRASTRUCTURE
   ========================================= */

.ah-infrastructure {
    padding: 130px 5%;
    background: var(--bg-alt);
}

.ah-infra-layout {
    max-width: var(--max-width);
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.ah-infra-text h2 {
    font-size: clamp(50px, 6vw, 85px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -4px;
    margin-top: 40px;
}

.ah-infra-text p {
    max-width: 400px;
    margin: 30px 0;
    color: var(--text-soft);
    line-height: 1.9;
}

.ah-infra-specs {
    border-top: 1px solid var(--border);
}

.ah-spec {
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
}

.ah-spec span {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.ah-spec h3 {
    font-size: 32px;
    font-weight: 500;
    margin-top: 10px;
}

.ah-spec-note {
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 2px;
}

/* =========================================
   FOUNDERS
   ========================================= */

.ah-founders {
    padding: 130px 5%;
}

.ah-founders-header {
    max-width: var(--max-width);
    margin: 65px auto;
}

.ah-founders-header h2 {
    font-size: clamp(50px, 7vw, 95px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -5px;
}

.ah-founders-header h2 span {
    color: var(--text-muted);
}

.ah-founders-grid {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ah-founder {
    border: 1px solid var(--border);
    padding: 40px;
    background: var(--panel);
}

.ah-founder-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.ah-founder-mark {
    width: 120px;
    height: 120px;
    margin: 65px 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dark);
    color: var(--accent);
    font-size: 30px;
    letter-spacing: 3px;
}

.ah-founder h3 {
    font-size: 34px;
    font-weight: 500;
}

.ah-founder-role {
    color: var(--accent);
    font-size: 13px;
    margin-top: 8px;
}

.ah-founder > p:last-child {
    color: var(--text-soft);
    margin-top: 25px;
    max-width: 400px;
}

/* =========================================
   FINAL CTA
   ========================================= */

.ah-final-cta {
    padding: 150px 5%;
    text-align: center;
    background: var(--accent);
    color: #151610;
}

.ah-final-cta .ah-section-label {
    color: #525548;
}

.ah-final-cta h2 {
    font-size: clamp(60px, 9vw, 130px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -7px;
    margin-top: 65px;
}

.ah-final-cta h2 span {
    color: #64685a;
}

.ah-final-cta p {
    margin-top: 35px;
    color: #4e5145;
}

.ah-button-light {
    margin-top: 35px;
    border-color: rgba(0,0,0,.25);
    color: #151610;
}

.ah-button-light:hover {
    background: #151610;
    color: var(--accent);
    border-color: #151610;
}

/* =========================================
   FOOTER
   ========================================= */

.ah-footer {
    padding: 90px 5% 30px;
    background: var(--bg);
}

.ah-footer-main {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.ah-footer-brand p {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 25px;
    line-height: 2;
}

.ah-footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ah-footer-column > span {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ah-footer-column a {
    color: var(--text-soft);
    font-size: 13px;
    transition: color .2s ease;
}

.ah-footer-column a:hover {
    color: var(--text);
}

.ah-footer-bottom {
    max-width: var(--max-width);
    margin: 80px auto 0;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* =========================================
   RESPONSIVE SAFETY
   ========================================= */

img {
    max-width: 100%;
}

section {
    scroll-margin-top: 40px;
}


/* =========================================
   HERO SIZE OPTIMIZATION — RESPONSIVE
   ========================================= */

.ah-hero-heading {
    font-size: clamp(2.5rem, 5.1vw, 5.2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
    max-width: 1050px;
}

.ah-hero {
    padding-top: clamp(55px, 7vw, 85px);
    padding-bottom: clamp(45px, 6vw, 65px);
}

.ah-hero-top {
    margin-bottom: clamp(30px, 4vw, 48px);
}

.ah-hero-bottom {
    margin-top: clamp(42px, 5vw, 60px);
    gap: clamp(35px, 6vw, 75px);
}

.ah-hero-visual {
    min-height: clamp(280px, 32vw, 370px);
}

.ah-hero-scroll {
    margin-top: clamp(40px, 5vw, 55px);
}

@media (max-width: 850px) {
    .ah-hero-heading {
        font-size: clamp(2.35rem, 7.5vw, 4.2rem) !important;
        max-width: 100%;
    }
    .ah-hero { width: 92%; }
    .ah-hero-bottom { gap: 30px; }
    .ah-hero-visual { min-height: 300px; }
}

@media (max-width: 600px) {
    .ah-hero-heading {
        font-size: clamp(2rem, 9vw, 3.2rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -0.04em !important;
    }
    .ah-hero { padding-top: 42px; padding-bottom: 42px; }
    .ah-hero-top { margin-bottom: 28px; }
    .ah-hero-bottom { margin-top: 35px; gap: 28px; }
    .ah-hero-visual { min-height: 260px; }
    .ah-hero-scroll { margin-top: 35px; }
}

@media (max-width: 380px) {
    .ah-hero-heading { font-size: clamp(1.8rem, 8.8vw, 2.5rem) !important; }
    .ah-hero-visual { min-height: 230px; }
}
