/*
Theme Name: HireTheCreatives
Theme URI: https://hirethecreatives.com
Author: HireTheCreatives
Author URI: https://hirethecreatives.com
Description: Premium web development agency theme with Stripe payments, SEO engine, custom CMS, and showcase portfolio. Built for HireTheCreatives — a top-tier web development studio.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hirethecreatives
Tags: portfolio, e-commerce, custom-menu, featured-images, theme-options, translation-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Palette - Dark Luxe */
    --htc-black: #0a0a0a;
    --htc-dark: #111111;
    --htc-charcoal: #1a1a1a;
    --htc-graphite: #2a2a2a;
    --htc-steel: #3a3a3a;
    --htc-muted: #888888;
    --htc-light: #f0f0f0;
    --htc-white: #fafafa;
    --htc-pure-white: #ffffff;

    /* Accent Colors */
    --htc-accent: #c8ff00;
    --htc-accent-hover: #d4ff33;
    --htc-accent-dark: #9ecc00;
    --htc-electric-blue: #0066ff;
    --htc-coral: #ff6b4a;
    --htc-violet: #8b5cf6;

    /* Gradients */
    --htc-gradient-main: linear-gradient(135deg, #c8ff00 0%, #0066ff 100%);
    --htc-gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --htc-gradient-card: linear-gradient(145deg, #1a1a1a 0%, #111111 100%);
    --htc-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

    /* Typography */
    --htc-font-display: 'Clash Display', 'Syne', sans-serif;
    --htc-font-heading: 'Cabinet Grotesk', 'Outfit', sans-serif;
    --htc-font-body: 'Satoshi', 'General Sans', sans-serif;
    --htc-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing Scale */
    --htc-space-xs: 0.25rem;
    --htc-space-sm: 0.5rem;
    --htc-space-md: 1rem;
    --htc-space-lg: 1.5rem;
    --htc-space-xl: 2rem;
    --htc-space-2xl: 3rem;
    --htc-space-3xl: 4rem;
    --htc-space-4xl: 5rem;
    --htc-space-5xl: 6.5rem;
    --htc-space-6xl: 9rem;

    /* Layout */
    --htc-container: 1280px;
    --htc-container-narrow: 860px;
    --htc-container-wide: 1440px;
    --htc-gutter: 2rem;

    /* Borders & Radius */
    --htc-radius-sm: 6px;
    --htc-radius-md: 12px;
    --htc-radius-lg: 20px;
    --htc-radius-xl: 32px;
    --htc-radius-full: 9999px;
    --htc-border: 1px solid rgba(255,255,255,0.08);
    --htc-border-accent: 1px solid var(--htc-accent);

    /* Shadows */
    --htc-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --htc-shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --htc-shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --htc-shadow-glow: 0 0 40px rgba(200,255,0,0.15);
    --htc-shadow-glow-blue: 0 0 40px rgba(0,102,255,0.15);

    /* Transitions */
    --htc-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --htc-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --htc-duration-fast: 0.2s;
    --htc-duration: 0.4s;
    --htc-duration-slow: 0.8s;

    /* Z-index Scale */
    --htc-z-base: 1;
    --htc-z-dropdown: 100;
    --htc-z-sticky: 200;
    --htc-z-overlay: 300;
    --htc-z-modal: 400;
    --htc-z-toast: 500;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--htc-font-body);
    background: var(--htc-black);
    color: var(--htc-light);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200,255,0,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,102,255,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--htc-duration-fast) var(--htc-ease);
}

a:hover {
    color: var(--htc-accent);
}

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--htc-font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--htc-pure-white);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    color: var(--htc-muted);
    max-width: 65ch;
}

.htc-eyebrow {
    font-family: var(--htc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--htc-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.htc-eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--htc-accent);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.htc-container {
    width: 100%;
    max-width: var(--htc-container);
    margin: 0 auto;
    padding: 0 var(--htc-gutter);
}

.htc-container--narrow {
    max-width: var(--htc-container-narrow);
}

.htc-container--wide {
    max-width: var(--htc-container-wide);
}

.htc-section {
    padding: var(--htc-space-4xl) 0;
    position: relative;
}

.htc-grid {
    display: grid;
    gap: var(--htc-gutter);
}

.htc-flex {
    display: flex;
    gap: var(--htc-gutter);
}

/* ============================================
   NAVIGATION
   ============================================ */
.htc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--htc-z-sticky);
    padding: 1.25rem 0;
    transition: all var(--htc-duration) var(--htc-ease);
    background: transparent;
}

.htc-header.scrolled {
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--htc-border);
    padding: 0.75rem 0;
}

.htc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--htc-container-wide);
    margin: 0 auto;
    padding: 0 var(--htc-gutter);
}

.htc-logo {
    font-family: var(--htc-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--htc-pure-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.htc-logo__mark {
    width: 36px;
    height: 36px;
    background: var(--htc-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--htc-black);
    transform: rotate(-3deg);
    transition: transform var(--htc-duration) var(--htc-ease);
}

.htc-logo:hover .htc-logo__mark {
    transform: rotate(3deg) scale(1.05);
}

.htc-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.htc-nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.htc-nav__link {
    font-family: var(--htc-font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--htc-muted);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--htc-duration-fast) var(--htc-ease);
}

.htc-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--htc-accent);
    transition: width var(--htc-duration) var(--htc-ease);
}

.htc-nav__link:hover,
.htc-nav__link.active {
    color: var(--htc-pure-white);
}

.htc-nav__link:hover::after,
.htc-nav__link.active::after {
    width: 100%;
}

.htc-nav__cta {
    font-family: var(--htc-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.7rem 1.75rem;
    background: var(--htc-accent);
    color: var(--htc-black);
    border-radius: var(--htc-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--htc-duration-fast) var(--htc-ease);
    position: relative;
    overflow: hidden;
}

.htc-nav__cta:hover {
    background: var(--htc-accent-hover);
    color: var(--htc-black);
    transform: translateY(-1px);
    box-shadow: var(--htc-shadow-glow);
}

/* Mobile Nav Toggle */
.htc-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.htc-nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--htc-pure-white);
    transition: all var(--htc-duration) var(--htc-ease);
    transform-origin: center;
}

.htc-nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.htc-nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.htc-nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.htc-hero {
    min-height: min(100vh, 900px);
    min-height: min(100dvh, 900px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--htc-space-5xl) 0 var(--htc-space-3xl);
}

.htc-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.htc-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.htc-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: htcOrb 20s ease-in-out infinite alternate;
}

.htc-hero__orb--1 {
    width: min(500px, 60vw);
    height: min(500px, 60vw);
    background: var(--htc-accent);
    top: -10%;
    right: -5%;
    opacity: 0.15;
}

.htc-hero__orb--2 {
    width: min(400px, 50vw);
    height: min(400px, 50vw);
    background: var(--htc-electric-blue);
    bottom: -10%;
    left: -5%;
    opacity: 0.1;
    animation-delay: -10s;
}

@keyframes htcOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.htc-hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.htc-hero__title {
    margin-bottom: var(--htc-space-lg);
}

.htc-hero__title-line {
    display: block;
    overflow: hidden;
}

.htc-hero__title .htc-text-accent {
    background: var(--htc-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.htc-hero__subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--htc-muted);
    max-width: 550px;
    margin-bottom: var(--htc-space-2xl);
    line-height: 1.8;
}

.htc-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--htc-space-3xl);
}

.htc-hero__stats {
    display: flex;
    gap: var(--htc-space-2xl);
    padding-top: var(--htc-space-2xl);
    border-top: var(--htc-border);
    flex-wrap: wrap;
}

.htc-hero__stat-number {
    font-family: var(--htc-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--htc-pure-white);
    line-height: 1;
}

.htc-hero__stat-label {
    font-size: 0.85rem;
    color: var(--htc-muted);
    margin-top: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.htc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--htc-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--htc-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--htc-duration) var(--htc-ease);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.htc-btn--primary {
    background: var(--htc-accent);
    color: var(--htc-black);
}

.htc-btn--primary:hover {
    background: var(--htc-accent-hover);
    color: var(--htc-black);
    transform: translateY(-2px);
    box-shadow: var(--htc-shadow-glow);
}

.htc-btn--outline {
    background: transparent;
    color: var(--htc-pure-white);
    border: 1px solid rgba(255,255,255,0.2);
}

.htc-btn--outline:hover {
    border-color: var(--htc-accent);
    color: var(--htc-accent);
    transform: translateY(-2px);
}

.htc-btn--large {
    padding: 1.15rem 2.5rem;
    font-size: 1rem;
}

.htc-btn__arrow {
    transition: transform var(--htc-duration-fast) var(--htc-ease);
}

.htc-btn:hover .htc-btn__arrow {
    transform: translateX(4px);
}

/* ============================================
   PORTFOLIO / SHOWCASE
   ============================================ */
.htc-showcase {
    position: relative;
}

.htc-showcase__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--htc-space-3xl);
    flex-wrap: wrap;
    gap: var(--htc-space-lg);
}

.htc-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.htc-project-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    overflow: hidden;
    position: relative;
    transition: all var(--htc-duration) var(--htc-ease);
    group: true;
}

.htc-project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200,255,0,0.2);
    box-shadow: var(--htc-shadow-lg), var(--htc-shadow-glow);
}

.htc-project-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.htc-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--htc-duration-slow) var(--htc-ease);
}

.htc-project-card:hover .htc-project-card__image img {
    transform: scale(1.05);
}

.htc-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9) 100%);
    opacity: 0;
    transition: opacity var(--htc-duration) var(--htc-ease);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.htc-project-card:hover .htc-project-card__overlay {
    opacity: 1;
}

.htc-project-card__visit {
    font-family: var(--htc-font-mono);
    font-size: 0.75rem;
    color: var(--htc-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.htc-project-card__body {
    padding: 1.5rem;
}

.htc-project-card__title {
    font-family: var(--htc-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.5rem;
}

.htc-project-card__desc {
    font-size: 0.9rem;
    color: var(--htc-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.htc-project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.htc-project-card__tag {
    font-family: var(--htc-font-mono);
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    background: rgba(200,255,0,0.08);
    color: var(--htc-accent);
    border-radius: var(--htc-radius-full);
    border: 1px solid rgba(200,255,0,0.15);
}

/* ============================================
   SERVICES / PACKAGES
   ============================================ */
.htc-services {
    position: relative;
}

.htc-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.htc-service-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-service-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.htc-service-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(200,255,0,0.1);
    border-radius: var(--htc-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.htc-service-card__title {
    font-family: var(--htc-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.75rem;
}

.htc-service-card__desc {
    font-size: 0.95rem;
    color: var(--htc-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.htc-service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.htc-service-card__feature {
    font-size: 0.88rem;
    color: var(--htc-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.htc-service-card__feature::before {
    content: '✓';
    color: var(--htc-accent);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ============================================
   PRICING
   ============================================ */
.htc-pricing {
    position: relative;
}

.htc-pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--htc-space-3xl);
}

.htc-pricing__toggle-label {
    font-family: var(--htc-font-heading);
    font-size: 0.9rem;
    color: var(--htc-muted);
    transition: color var(--htc-duration-fast);
}

.htc-pricing__toggle-label.active {
    color: var(--htc-pure-white);
}

.htc-pricing__switch {
    width: 56px;
    height: 28px;
    background: var(--htc-graphite);
    border-radius: var(--htc-radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    position: relative;
    transition: background var(--htc-duration-fast);
}

.htc-pricing__switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--htc-accent);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform var(--htc-duration) var(--htc-ease-bounce);
}

.htc-pricing__switch.annual::after {
    transform: translateX(28px);
}

.htc-pricing__currency-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--htc-space-xl);
}

.htc-pricing__currency-btn {
    font-family: var(--htc-font-mono);
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    background: transparent;
    color: var(--htc-muted);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--htc-radius-full);
    cursor: pointer;
    transition: all var(--htc-duration-fast);
}

.htc-pricing__currency-btn.active {
    background: var(--htc-accent);
    color: var(--htc-black);
    border-color: var(--htc-accent);
}

.htc-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.htc-pricing-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-pricing-card--featured {
    border-color: var(--htc-accent);
    box-shadow: var(--htc-shadow-glow);
    transform: scale(1.02);
}

.htc-pricing-card--featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--htc-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    background: var(--htc-accent);
    color: var(--htc-black);
    border-radius: var(--htc-radius-full);
}

.htc-pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,255,0,0.3);
}

.htc-pricing-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.htc-pricing-card__name {
    font-family: var(--htc-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--htc-accent);
    margin-bottom: 0.5rem;
}

.htc-pricing-card__desc {
    font-size: 0.9rem;
    color: var(--htc-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.htc-pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.htc-pricing-card__currency {
    font-family: var(--htc-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--htc-pure-white);
}

.htc-pricing-card__amount {
    font-family: var(--htc-font-display);
    font-size: clamp(2.25rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--htc-pure-white);
    line-height: 1;
}

.htc-pricing-card__period {
    font-size: 0.85rem;
    color: var(--htc-muted);
    margin-bottom: 2rem;
}

.htc-pricing-card__divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 1.5rem;
}

.htc-pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.htc-pricing-card__feature {
    font-size: 0.9rem;
    color: var(--htc-light);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.htc-pricing-card__feature-icon {
    color: var(--htc-accent);
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.htc-pricing-card__cta {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.htc-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.htc-testimonial-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-testimonial-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.htc-testimonial-card__stars {
    color: var(--htc-accent);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.htc-testimonial-card__text {
    font-size: 1rem;
    color: var(--htc-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.htc-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.htc-testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--htc-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--htc-accent);
}

.htc-testimonial-card__name {
    font-weight: 600;
    color: var(--htc-pure-white);
    font-size: 0.95rem;
}

.htc-testimonial-card__role {
    font-size: 0.8rem;
    color: var(--htc-muted);
}

/* ============================================
   CONTACT / CTA
   ============================================ */
.htc-cta {
    position: relative;
    overflow: hidden;
}

.htc-cta__inner {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-xl);
    padding: var(--htc-space-3xl) var(--htc-space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.htc-cta__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(200,255,0,0.05), transparent, rgba(0,102,255,0.05), transparent);
    animation: htcRotate 20s linear infinite;
}

@keyframes htcRotate {
    to { transform: rotate(360deg); }
}

.htc-cta__content {
    position: relative;
    z-index: 1;
}

/* ============================================
   FORMS
   ============================================ */
.htc-form__group {
    margin-bottom: 1.25rem;
}

.htc-form__label {
    font-family: var(--htc-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--htc-light);
    margin-bottom: 0.5rem;
    display: block;
}

.htc-form__input,
.htc-form__textarea,
.htc-form__select {
    width: 100%;
    font-family: var(--htc-font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    background: var(--htc-charcoal);
    color: var(--htc-pure-white);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--htc-radius-md);
    outline: none;
    transition: all var(--htc-duration-fast) var(--htc-ease);
}

.htc-form__input:focus,
.htc-form__textarea:focus,
.htc-form__select:focus {
    border-color: var(--htc-accent);
    box-shadow: 0 0 0 3px rgba(200,255,0,0.1);
}

.htc-form__textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.htc-footer {
    background: var(--htc-dark);
    border-top: var(--htc-border);
    padding: var(--htc-space-4xl) 0 var(--htc-space-xl);
}

.htc-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: var(--htc-space-3xl);
}

.htc-footer__brand-desc {
    font-size: 0.9rem;
    color: var(--htc-muted);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.7;
}

.htc-footer__col-title {
    font-family: var(--htc-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.htc-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.htc-footer__link {
    font-size: 0.9rem;
    color: var(--htc-muted);
    transition: color var(--htc-duration-fast);
}

.htc-footer__link:hover {
    color: var(--htc-accent);
}

.htc-footer__bottom {
    padding-top: var(--htc-space-xl);
    border-top: var(--htc-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.htc-footer__copyright {
    font-size: 0.8rem;
    color: var(--htc-muted);
}

.htc-footer__socials {
    display: flex;
    gap: 1rem;
}

.htc-footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--htc-charcoal);
    border-radius: 50%;
    color: var(--htc-muted);
    transition: all var(--htc-duration-fast) var(--htc-ease);
    font-size: 0.9rem;
}

.htc-footer__social-link:hover {
    background: var(--htc-accent);
    color: var(--htc-black);
    transform: translateY(-2px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.htc-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--htc-ease);
}

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

.htc-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--htc-ease);
}

.htc-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.htc-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s var(--htc-ease);
}

.htc-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.htc-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--htc-ease);
}

.htc-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.htc-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.htc-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.htc-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.htc-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.htc-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

/* ============================================
   MARQUE TICKER
   ============================================ */
.htc-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: var(--htc-space-lg) 0;
    border-top: var(--htc-border);
    border-bottom: var(--htc-border);
}

.htc-marquee__track {
    display: inline-flex;
    animation: htcMarquee 30s linear infinite;
}

.htc-marquee__item {
    font-family: var(--htc-font-display);
    font-size: clamp(1.25rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--htc-graphite);
    padding: 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.htc-marquee__item .dot {
    width: 8px;
    height: 8px;
    background: var(--htc-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes htcMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.htc-page-header {
    padding: calc(var(--htc-space-6xl) + 2rem) 0 var(--htc-space-3xl);
    text-align: center;
    position: relative;
}

.htc-page-header__title {
    margin-bottom: var(--htc-space-md);
}

.htc-page-header__desc {
    margin: 0 auto;
    text-align: center;
}

/* Process Steps */
.htc-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.htc-process-step {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-process-step:hover {
    border-color: rgba(200,255,0,0.2);
    transform: translateY(-4px);
}

.htc-process-step__number {
    font-family: var(--htc-font-display);
    font-size: 2.25rem;
    font-weight: 900;
    background: var(--htc-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.htc-process-step__title {
    font-family: var(--htc-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.5rem;
}

.htc-process-step__desc {
    font-size: 0.88rem;
    color: var(--htc-muted);
    line-height: 1.6;
}

/* Blog */
.htc-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.htc-blog-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    overflow: hidden;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.htc-blog-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--htc-graphite);
    overflow: hidden;
}

.htc-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--htc-duration-slow) var(--htc-ease);
}

.htc-blog-card:hover .htc-blog-card__image img {
    transform: scale(1.05);
}

.htc-blog-card__body {
    padding: 1.5rem;
}

.htc-blog-card__meta {
    font-family: var(--htc-font-mono);
    font-size: 0.75rem;
    color: var(--htc-accent);
    margin-bottom: 0.75rem;
}

.htc-blog-card__title {
    font-family: var(--htc-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.htc-blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--htc-muted);
    line-height: 1.6;
}

/* ============================================
   STRIPE CHECKOUT STYLES
   ============================================ */
.htc-checkout {
    max-width: 600px;
    margin: 0 auto;
}

.htc-checkout__summary {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.htc-checkout__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: var(--htc-border);
}

.htc-checkout__item:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--htc-pure-white);
    font-size: 1.1rem;
}

#htc-stripe-element {
    background: var(--htc-charcoal);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--htc-radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

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

/* Widescreen cap — prevent content from looking stretched on ultrawide */
@media (min-width: 1800px) {
    .htc-container--wide {
        max-width: 1600px;
    }
}

@media (max-width: 1200px) {
    .htc-pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .htc-pricing-card--featured {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    .htc-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .htc-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .htc-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .htc-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --htc-gutter: 1.25rem;
        --htc-space-4xl: 3.5rem;
        --htc-space-3xl: 2.5rem;
    }

    /* Mobile nav */
    .htc-nav__menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: var(--htc-z-overlay);
    }

    .htc-nav__menu.active {
        display: flex;
    }

    .htc-nav__link {
        font-size: 1.5rem;
    }

    .htc-nav__toggle {
        display: flex;
    }

    /* Hero */
    .htc-hero {
        min-height: auto;
        padding: 7rem 0 2.5rem;
    }

    .htc-hero__content {
        max-width: 100%;
    }

    .htc-hero__subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .htc-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--htc-space-lg);
    }

    .htc-hero__stat {
        min-width: 0;
    }

    /* Grids to single column */
    .htc-showcase__grid,
    .htc-services__grid,
    .htc-testimonials__grid,
    .htc-blog__grid {
        grid-template-columns: 1fr;
    }

    .htc-pricing__grid {
        grid-template-columns: 1fr;
    }

    .htc-pricing-card--featured {
        grid-column: auto;
        max-width: none;
        transform: none;
    }

    .htc-pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .htc-pricing-card {
        padding: 2rem 1.5rem;
    }

    .htc-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .htc-process__grid {
        grid-template-columns: 1fr;
    }

    .htc-section {
        padding: var(--htc-space-3xl) 0;
    }

    .htc-cta__inner {
        padding: var(--htc-space-2xl) var(--htc-space-lg);
    }

    /* Showcase header stacks on mobile */
    .htc-showcase__header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Service cards tighter padding */
    .htc-service-card {
        padding: 1.75rem;
    }

    /* Currency selector wraps */
    .htc-pricing__currency-select {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    :root {
        --htc-gutter: 1rem;
    }

    .htc-hero {
        min-height: auto;
        padding: 6rem 0 2rem;
    }

    .htc-hero__actions {
        flex-direction: column;
    }

    .htc-btn--large {
        width: 100%;
        justify-content: center;
    }

    .htc-hero__stats {
        gap: var(--htc-space-md);
    }

    .htc-hero__stat-number {
        font-size: 1.5rem;
    }

    .htc-project-card__body {
        padding: 1.25rem;
    }

    .htc-testimonial-card {
        padding: 1.5rem;
    }

    /* Marquee even smaller on small phones */
    .htc-marquee__item {
        font-size: 1rem;
        padding: 0 1rem;
        gap: 1rem;
    }

    .htc-marquee__item .dot {
        width: 5px;
        height: 5px;
    }

    /* Prevent horizontal scroll from orbs */
    .htc-hero__orb--1 {
        width: 250px;
        height: 250px;
        right: -15%;
        top: -5%;
    }

    .htc-hero__orb--2 {
        width: 200px;
        height: 200px;
        left: -15%;
        bottom: -5%;
    }

    /* CTA tighter */
    .htc-cta__inner {
        padding: 2rem 1.25rem;
        border-radius: var(--htc-radius-lg);
    }

    /* Footer tighter */
    .htc-footer {
        padding: var(--htc-space-2xl) 0 var(--htc-space-lg);
    }

    .htc-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Currency buttons wrap nicely */
    .htc-pricing__currency-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }
}

/* iPhone safe areas */
@supports (padding: env(safe-area-inset-bottom)) {
    .htc-footer__bottom {
        padding-bottom: calc(var(--htc-space-lg) + env(safe-area-inset-bottom));
    }
    .htc-hero {
        padding-top: calc(var(--htc-space-5xl) + env(safe-area-inset-top));
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .htc-reveal,
    .htc-reveal-left,
    .htc-reveal-right,
    .htc-stagger > * {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--htc-accent);
    outline-offset: 3px;
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.htc-about-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--htc-space-3xl);
    align-items: start;
}

.htc-about-split__text h2 {
    margin: var(--htc-space-md) 0 var(--htc-space-lg);
}

.htc-about-split__text p {
    margin-bottom: var(--htc-space-md);
    line-height: 1.8;
}

.htc-about-split__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.htc-about-stat-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.htc-about-stat-card__number {
    font-family: var(--htc-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--htc-accent);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.htc-about-stat-card__label {
    font-size: 0.8rem;
    color: var(--htc-muted);
}

/* Values */
.htc-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.htc-value-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2rem;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-value-card:hover {
    border-color: rgba(200,255,0,0.2);
    transform: translateY(-4px);
}

.htc-value-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.htc-value-card__title {
    font-family: var(--htc-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.5rem;
}

.htc-value-card__desc {
    font-size: 0.9rem;
    color: var(--htc-muted);
    line-height: 1.7;
}

/* Tech Pills */
.htc-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.htc-tech-pill {
    font-family: var(--htc-font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-full);
    color: var(--htc-light);
    transition: all var(--htc-duration-fast) var(--htc-ease);
}

.htc-tech-pill:hover {
    border-color: var(--htc-accent);
    color: var(--htc-accent);
}

/* Team Grid */
.htc-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.htc-team-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-team-card:hover {
    border-color: rgba(200,255,0,0.2);
    transform: translateY(-4px);
}

.htc-team-card__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--htc-space-md);
    overflow: hidden;
}

.htc-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.htc-team-card__photo--placeholder {
    background: var(--htc-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--htc-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--htc-accent);
}

.htc-team-card__name {
    font-family: var(--htc-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.25rem;
}

.htc-team-card__role {
    font-size: 0.82rem;
    color: var(--htc-muted);
}

/* About responsive */
@media (max-width: 768px) {
    .htc-about-split {
        grid-template-columns: 1fr;
    }
    .htc-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT PAGE (theme template styles)
   ============================================ */
.htc-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.htc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.htc-contact-card {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.htc-contact-card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.htc-contact-card h3 {
    font-family: var(--htc-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin-bottom: 0.25rem;
}

.htc-contact-card p {
    font-size: 0.85rem;
    color: var(--htc-muted);
}

.htc-contact-faq {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 1.5rem;
}

.htc-contact-faq h3 {
    font-family: var(--htc-font-heading);
    font-size: 1rem;
    color: var(--htc-pure-white);
    margin-bottom: 1rem;
}

.htc-contact-faq details {
    border-bottom: var(--htc-border);
    padding: 0.75rem 0;
}

.htc-contact-faq details:last-of-type {
    border-bottom: none;
}

.htc-contact-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--htc-light);
    list-style: none;
}

.htc-contact-faq summary::-webkit-details-marker {
    display: none;
}

.htc-contact-faq details p {
    font-size: 0.85rem;
    color: var(--htc-muted);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.htc-contact-form-wrap {
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    padding: 2.5rem;
}

.htc-contact-form-wrap h2 {
    font-family: var(--htc-font-heading);
    font-size: 1.35rem;
    color: var(--htc-pure-white);
    margin-bottom: 1.5rem;
}

.htc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .htc-contact-grid {
        grid-template-columns: 1fr;
    }
    .htc-form-row {
        grid-template-columns: 1fr;
    }
    .htc-contact-form-wrap {
        padding: 1.5rem;
    }
}

/* ============================================
   BLOG POST / ARTICLE
   ============================================ */
.htc-article__meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--htc-space-lg);
    flex-wrap: wrap;
}

.htc-article__category {
    font-family: var(--htc-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--htc-black);
    background: var(--htc-accent);
    padding: 0.3rem 0.75rem;
    border-radius: var(--htc-radius-full);
    text-decoration: none;
    transition: opacity var(--htc-duration-fast);
}

.htc-article__category:hover {
    opacity: 0.85;
    color: var(--htc-black);
}

.htc-article__date {
    font-family: var(--htc-font-mono);
    font-size: 0.8rem;
    color: var(--htc-muted);
}

.htc-article__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--htc-space-lg);
}

.htc-article__author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--htc-graphite);
}

.htc-article__author strong {
    display: block;
    font-family: var(--htc-font-heading);
    font-size: 0.9rem;
    color: var(--htc-pure-white);
}

.htc-article__author span {
    font-size: 0.8rem;
    color: var(--htc-muted);
}

.htc-article__hero-image {
    margin-bottom: var(--htc-space-xl);
}

.htc-article__hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--htc-radius-lg);
    max-height: 500px;
    object-fit: cover;
}

/* Article body content — styles for the_content() output */
.htc-article__content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--htc-light);
}

.htc-article__content p {
    color: var(--htc-light);
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: inherit;
    line-height: inherit;
}

.htc-article__content h2 {
    font-family: var(--htc-font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--htc-pure-white);
    margin: 2.5rem 0 1rem;
    line-height: 1.2;
}

.htc-article__content h3 {
    font-family: var(--htc-font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--htc-pure-white);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.htc-article__content h4 {
    font-family: var(--htc-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--htc-pure-white);
    margin: 1.5rem 0 0.5rem;
}

.htc-article__content a {
    color: var(--htc-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--htc-duration-fast);
}

.htc-article__content a:hover {
    color: var(--htc-accent-hover);
}

.htc-article__content ul,
.htc-article__content ol {
    margin: 0 0 1.5rem 1.25rem;
    list-style: disc;
    color: var(--htc-light);
}

.htc-article__content ol {
    list-style: decimal;
}

.htc-article__content li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
    line-height: 1.7;
}

.htc-article__content li strong {
    color: var(--htc-pure-white);
}

.htc-article__content blockquote {
    border-left: 3px solid var(--htc-accent);
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: rgba(200, 255, 0, 0.03);
    border-radius: 0 var(--htc-radius-md) var(--htc-radius-md) 0;
    font-style: italic;
    color: var(--htc-light);
}

.htc-article__content blockquote p {
    margin-bottom: 0;
}

.htc-article__content code {
    font-family: var(--htc-font-mono);
    font-size: 0.88em;
    background: var(--htc-charcoal);
    color: var(--htc-accent);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

.htc-article__content pre {
    background: var(--htc-charcoal);
    border: var(--htc-border);
    border-radius: var(--htc-radius-md);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: var(--htc-font-mono);
    font-size: 0.88rem;
    line-height: 1.6;
}

.htc-article__content pre code {
    background: transparent;
    padding: 0;
    color: var(--htc-light);
}

.htc-article__content img {
    border-radius: var(--htc-radius-md);
    margin: 1.5rem 0;
}

.htc-article__content hr {
    border: none;
    border-top: var(--htc-border);
    margin: 2.5rem 0;
}

/* Article footer — tags & share */
.htc-article__footer {
    margin-top: var(--htc-space-2xl);
    padding-top: var(--htc-space-xl);
    border-top: var(--htc-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.htc-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.htc-article__tag {
    font-family: var(--htc-font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--htc-radius-full);
    color: var(--htc-muted);
    text-decoration: none;
    transition: all var(--htc-duration-fast);
}

.htc-article__tag:hover {
    border-color: var(--htc-accent);
    color: var(--htc-accent);
}

.htc-article__share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--htc-muted);
}

.htc-article__share a {
    color: var(--htc-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color var(--htc-duration-fast);
}

.htc-article__share a:hover {
    color: var(--htc-accent);
}

/* Prev / Next navigation */
.htc-article__nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.htc-article__nav-link {
    display: block;
    padding: 1.5rem;
    background: var(--htc-gradient-card);
    border: var(--htc-border);
    border-radius: var(--htc-radius-lg);
    text-decoration: none;
    transition: all var(--htc-duration) var(--htc-ease);
}

.htc-article__nav-link:hover {
    border-color: rgba(200,255,0,0.2);
    transform: translateY(-2px);
}

.htc-article__nav-link--next {
    text-align: right;
}

.htc-article__nav-label {
    font-family: var(--htc-font-mono);
    font-size: 0.7rem;
    color: var(--htc-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.htc-article__nav-title {
    display: block;
    font-family: var(--htc-font-heading);
    font-weight: 600;
    color: var(--htc-pure-white);
    margin-top: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .htc-article__nav-grid {
        grid-template-columns: 1fr;
    }
    .htc-article__nav-link--next {
        text-align: left;
    }
    .htc-article__content {
        font-size: 1rem;
    }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignleft { float: left; margin: 0 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 0 0 1.5rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignwide { max-width: var(--htc-container-wide); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

.wp-block-image img { border-radius: var(--htc-radius-md); }
.wp-block-quote { border-left: 3px solid var(--htc-accent); padding-left: 1.5rem; font-style: italic; }
.wp-block-code { background: var(--htc-charcoal); border-radius: var(--htc-radius-md); padding: 1.5rem; font-family: var(--htc-font-mono); }

/* Admin Bar Fix */
.admin-bar .htc-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .htc-header {
        top: 46px;
    }
}
