/* =============================================
   OCF Agency 1 — Template Styles
   =============================================
   Monochrome, minimal, techy agency template.
   All colors via var(--ocf-*). Prefix: ag1-
   ============================================= */


/* =============================================
   BASE OVERRIDES — Differentiate from base2
   =============================================
   Rewrites base.css typography, radius, nav,
   buttons, eyebrows, labels.
   ============================================= */

/* --- Tighter radius globally --- */
:root {
    --radius-sm: 4px;
    --radius: 4px;
    --radius-lg: 8px;
}

/* --- Eyebrow: no ALL CAPS, clean --- */
.eyebrow {
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--ocf-label);
}

/* --- Headings: lighter weight, tighter --- */
.heading-section {
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

/* --- Nav links: normal case --- */
.nav-link {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    font-size: var(--text-sm);
}

.nav-link::after {
    height: 1.5px;
    background: var(--ocf-heading);
}

/* --- Nav CTA: normal case, sharper --- */
.nav-cta {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius);
    padding: 0.5rem 1.25rem;
}

/* --- Logo text --- */
.nav-logo-text {
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 1.375rem;
}

@media (min-width: 1024px) {
    .nav-logo-text { font-size: 1.5rem; }
}

/* --- Buttons: no uppercase --- */
.btn-primary {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 600;
    font-size: var(--text-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
}

.btn-ghost {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    font-size: var(--text-sm);
    border-radius: var(--radius);
    padding: 0.875rem 1.75rem;
}

.btn-secondary {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* --- Text label: no uppercase --- */
.text-label {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* --- Cards: sharper --- */
.card { border-radius: var(--radius); }
.card:hover { transform: translateY(-1px); }

/* --- Trust stats: normal case --- */
.trust-stat-value {
    font-weight: 500;
    letter-spacing: -0.03em;
}

.trust-stat-label {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* --- Footer headings: normal case --- */
.footer-heading {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: var(--text-sm);
}

.footer-brand-name {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.footer-brand-location {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: var(--text-xs);
    font-weight: 500;
}

/* --- Dropdown items --- */
.dropdown-item { font-weight: 500; }

/* --- Mobile menu: normal case --- */
.mobile-link {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    font-size: var(--text-sm);
}

.mobile-accordion-trigger {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 600;
    font-size: var(--text-sm);
}

/* --- Page header on dark --- */
.page-header .heading-section { font-weight: 500; }

/* --- Post card meta --- */
.post-card-meta {
    text-transform: none;
    letter-spacing: 0.02em;
}

/* --- Booking wizard --- */
.bw-step-badge {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.bw-title {
    font-weight: 500;
    letter-spacing: -0.03em;
}

.bw-field-label {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.bw-btn--next {
    text-transform: none;
    letter-spacing: 0.01em;
}

.bw-logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Form submit --- */
.form-submit-btn,
.hero-form-card .form-submit-btn {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 600;
    border-radius: var(--radius);
}

.hero-form-card .hero-form-title {
    font-weight: 600;
    letter-spacing: -0.02em;
}


/* ─── Hero container ─── */

.ag1-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ocf-bg-dark);
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .ag1-hero { margin-top: -6rem; }
}

/* ─── Hero background image ─── */

.ag1-hero-bg {
    position: absolute;
    inset: 0;
}

.ag1-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Hero overlay ─── */

.ag1-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(9, 9, 11, 0.94) 0%,
        rgba(9, 9, 11, 0.85) 40%,
        rgba(9, 9, 11, 0.70) 100%
    );
    z-index: 1;
}

/* ─── Hero dot-grid pattern ─── */

.ag1-hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1px
    );
    background-size: 32px 32px;
    pointer-events: none;
}

/* ─── Hero grid layout ─── */

.ag1-hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 10rem;
    padding-bottom: 5rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .ag1-hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 4rem;
        align-items: center;
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

/* ─── Hero text column ─── */

.ag1-hero-text .eyebrow { color: var(--ocf-label-alt); }
.ag1-hero-text .heading-section { color: var(--ocf-heading-alt); }
.ag1-hero-text .heading-section span { display: inline; }

/* Hero eyebrow with horizontal line accent */
.ag1-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ocf-label-alt);
    margin-bottom: 1.25rem;
}

.ag1-hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--ocf-label-alt);
    flex-shrink: 0;
}

/* ─── Hero subheadline ─── */

.ag1-hero-sub {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--ocf-heading-alt);
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 34rem;
}

/* ─── Hero trust bullets ─── */

.ag1-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.ag1-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--ocf-heading-alt);
    opacity: 0.85;
}

.ag1-hero-trust svg {
    width: 1rem;
    height: 1rem;
    color: var(--ocf-heading-alt);
    opacity: 0.6;
    flex-shrink: 0;
}

/* ─── Hero CTA buttons (dark bg) ─── */

.ag1-hero .btn-primary {
    background: var(--ocf-bg);
    color: var(--ocf-heading);
    border-color: var(--ocf-bg);
}

.ag1-hero .btn-primary:hover {
    background: var(--ocf-border-light);
    border-color: var(--ocf-border-light);
}

.ag1-hero .btn-ghost {
    background: transparent;
    color: var(--ocf-heading-alt);
    border-color: var(--ocf-border-alt);
}

.ag1-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════
   Hero Form Card — Objectives On-Ramp
   ═══════════════════════════════════════════════ */

/* ─── Card shell ─── */

.hero-form-card {
    background: var(--ocf-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ocf-border-light);
}

@media (min-width: 640px) {
    .hero-form-card { padding: 2.5rem; }
}

.hero-form-card .hero-form-title {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ocf-heading);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.hero-form-card > p {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
}

/* ─── Form fields ─── */

.hero-form-card .hero-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero-form-card input,
.hero-form-card textarea,
.hero-form-card select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.hero-form-card input:focus,
.hero-form-card textarea:focus,
.hero-form-card select:focus {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 8%, transparent);
}

.hero-form-card input::placeholder,
.hero-form-card textarea::placeholder {
    color: var(--ocf-divider);
}

.hero-form-card textarea {
    min-height: 80px;
    resize: vertical;
}

/* ─── Submit button ─── */

.hero-form-card .form-submit-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--duration) ease;
}

.hero-form-card .form-submit-btn:hover {
    background: var(--ocf-accent-hover);
}

.hero-form-card .form-submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ─── Hero service on-ramp list ─── */

.hero-svc-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
    max-height: 280px;
    overflow-y: auto;
}

.hero-svc-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    font-family: inherit;
}

.hero-svc-row:hover {
    border-color: var(--ocf-border);
    background: var(--ocf-bg-alt);
}

.hero-svc-row.is-selected {
    border-color: var(--ocf-accent);
    background: color-mix(in srgb, var(--ocf-accent) 4%, var(--ocf-bg));
}

.hero-svc-check {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ocf-border);
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.15s ease;
    color: transparent;
}

.hero-svc-row.is-selected .hero-svc-check {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: #fff;
}

.hero-svc-check svg {
    width: 0.75rem;
    height: 0.75rem;
}

.hero-svc-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ocf-heading);
}


/* ═══════════════════════════════════════════════
   Services — Slider + Grid Cards
   ═══════════════════════════════════════════════ */

/* ─── Section wrapper ─── */

.ag1-services {
    background: var(--ocf-bg-alt);
    overflow: hidden;
}

/* ─── Header: heading left, nav arrows right ─── */

.ag1-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.ag1-services-header .eyebrow { color: var(--ocf-label); }
.ag1-services-header .heading-section { color: var(--ocf-heading); }

.ag1-services-heading {
    max-width: 38rem;
}

/* ─── Slider nav buttons ─── */

.ag1-svc-nav {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.ag1-svc-nav button {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--ocf-border);
    background: var(--ocf-bg);
    color: var(--ocf-heading);
    cursor: pointer;
    transition: all var(--duration) ease;
}

.ag1-svc-nav button:hover:not(:disabled) {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}

.ag1-svc-nav button:disabled {
    opacity: 0.25;
    cursor: default;
}

.ag1-svc-nav button svg {
    width: 1rem;
    height: 1rem;
}

/* ─── Slider viewport ─── */

.ag1-svc-viewport {
    overflow: hidden;
}

.ag1-svc-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s var(--ease);
    cursor: grab;
}

.ag1-svc-track:active { cursor: grabbing; }

/* Card sizing: 1 mobile, 2 tablet, 3 desktop */
.ag1-svc-track .ag1-svc-card {
    flex: 0 0 100%;
    min-width: 0;
}

@media (min-width: 640px) {
    .ag1-svc-track .ag1-svc-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (min-width: 1024px) {
    .ag1-svc-track .ag1-svc-card {
        flex: 0 0 calc((100% - 2.5rem) / 3);
    }
}

/* ─── Static grid (services page) ─── */

.ag1-svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

/* ─── Card design ─── */

.ag1-svc-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--ocf-bg);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--ocf-border-light);
    transition: border-color var(--duration) ease, box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.ag1-svc-card:hover {
    border-color: var(--ocf-border);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--ocf-heading) 8%, transparent);
    transform: translateY(-3px);
}

/* Image area */
.ag1-svc-card-img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--ocf-bg-dark);
}

.ag1-svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    filter: grayscale(0.15);
}

.ag1-svc-card:hover .ag1-svc-card-img img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.ag1-svc-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--ocf-bg-dark),
        color-mix(in srgb, var(--ocf-bg-dark) 75%, var(--ocf-border))
    );
}

/* Text area */
.ag1-svc-card-body {
    position: relative;
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.ag1-svc-card-body h3 {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--ocf-heading);
    padding-right: 2rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color var(--duration) ease;
}

.ag1-svc-card:hover .ag1-svc-card-body h3 {
    color: var(--ocf-accent);
}

.ag1-svc-card-body p {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--ocf-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow icon */
.ag1-svc-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocf-border);
    transition: color var(--duration) ease, transform var(--duration) var(--ease);
}

.ag1-svc-arrow svg {
    width: 1.125rem;
    height: 1.125rem;
}

.ag1-svc-card:hover .ag1-svc-arrow {
    color: var(--ocf-accent);
    transform: translate(2px, -2px);
}


/* ═══════════════════════════════════════════════
   Testimonials — Quote-mark accent cards
   ═══════════════════════════════════════════════ */

/* ─── Section wrapper ─── */

.ag1-testimonials {
    position: relative;
    background: var(--ocf-bg);
    overflow: hidden;
}

.ag1-testimonials .eyebrow { color: var(--ocf-label); }
.ag1-testimonials .heading-section { color: var(--ocf-heading); }

/* ─── Header: heading + nav arrows ─── */

.ag1-testimonials-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* ─── Carousel viewport ─── */

.ag1-testimonial-viewport {
    overflow: hidden;
}

.ag1-testimonial-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Card design ─── */

.ag1-testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration) ease, box-shadow var(--duration-slow) var(--ease);
}

@media (min-width: 640px) {
    .ag1-testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .ag1-testimonial-card { flex: 0 0 calc(33.333% - 1rem); }
}

.ag1-testimonial-card:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow);
}

/* ─── Decorative quote mark ─── */

.ag1-quote-mark {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--ocf-border);
    opacity: 0.35;
    margin-bottom: -0.5rem;
    user-select: none;
    pointer-events: none;
}

/* ─── Quote text ─── */

.ag1-testimonial-card blockquote {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--ocf-body);
    flex: 1;
    margin: 0 0 1.5rem;
    font-style: normal;
}

/* ─── Footer: author info ─── */

.ag1-testimonial-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--ocf-border-light);
}

.ag1-testimonial-footer strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading);
}

.ag1-testimonial-footer span {
    display: block;
    font-size: var(--text-xs);
    color: var(--ocf-label);
    margin-top: 0.125rem;
}

/* ─── Nav arrows ─── */

.ag1-testimonial-nav {
    display: flex;
    gap: 0.75rem;
}

.ag1-testimonial-nav button {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--ocf-border);
    border-radius: var(--radius-full);
    color: var(--ocf-heading);
    cursor: pointer;
    transition: all var(--duration) ease;
}

.ag1-testimonial-nav button:hover {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}

.ag1-testimonial-nav button svg {
    width: 1rem;
    height: 1rem;
}


/* ═══════════════════════════════════════════════
   CTA Banner — Bold centered, no service areas
   ═══════════════════════════════════════════════ */

.ag1-cta-banner {
    position: relative;
    background: var(--ocf-bg-dark);
    text-align: center;
    overflow: hidden;
}

/* Dot grid overlay on CTA */
.ag1-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px
    );
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

.ag1-cta-banner > * {
    position: relative;
    z-index: 2;
}

.ag1-cta-banner .eyebrow { color: var(--ocf-label-alt); }
.ag1-cta-banner .heading-section { color: var(--ocf-heading-alt); }

.ag1-cta-desc {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--ocf-body-alt);
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.ag1-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ag1-cta-buttons { flex-direction: row; justify-content: center; }
}

/* Button overrides on dark bg */
.ag1-cta-banner .btn-primary {
    background: var(--ocf-bg);
    color: var(--ocf-heading);
    border-color: var(--ocf-bg);
}

.ag1-cta-banner .btn-primary:hover {
    background: var(--ocf-border-light);
    border-color: var(--ocf-border-light);
}

.ag1-cta-banner .btn-ghost {
    background: transparent;
    color: var(--ocf-heading-alt);
    border-color: var(--ocf-border-alt);
}

.ag1-cta-banner .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════
   Trust Stats — Template background wrapper
   ═══════════════════════════════════════════════ */

.ag1-stats-section {
    background: var(--ocf-bg-alt);
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top: 1px solid var(--ocf-border-light);
    border-bottom: 1px solid var(--ocf-border-light);
}

/* Override base stat values for monochrome */
.ag1-stats-section .trust-stat-value {
    color: var(--ocf-heading);
}

.ag1-stats-section .trust-stat-label {
    color: var(--ocf-body);
}


/* ═══════════════════════════════════════════════
   Page Header — Geometric grid pattern overlay
   ═══════════════════════════════════════════════ */

/* ─── Dot grid pattern overlay ─── */

.ag1-page-header-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px
    );
    background-size: 28px 28px;
    pointer-events: none;
}

/* Crosshatch overlay on page header */
.page-header {
    background:
        url('data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%200L32%2032M32%200L0%2032%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%220.4%22%20opacity%3D%220.03%22%2F%3E%3C/svg%3E'),
        linear-gradient(
            160deg,
            var(--ocf-bg-dark) 0%,
            color-mix(in srgb, var(--ocf-bg-dark) 92%, var(--ocf-border)) 100%
        );
    background-size: 32px 32px, 100% 100%;
}


/* ═══════════════════════════════════════════════
   About Page — History + Values
   ═══════════════════════════════════════════════ */

/* ─── History: editorial split ─── */

.ag1-about-history {
    background: var(--ocf-bg);
}

.ag1-history-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ag1-history-layout {
        grid-template-columns: 5fr 7fr;
        gap: 5rem;
        align-items: start;
    }
}

.ag1-history-intro .eyebrow { color: var(--ocf-label); }
.ag1-history-intro .heading-section { color: var(--ocf-heading); }

.ag1-history-heading {
    margin-top: 1rem;
}

.ag1-history-lead {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.ag1-history-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .ag1-history-cols {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* ─── About: text-first editorial ─── */

.ag1-about {
    background: var(--ocf-bg);
}

.ag1-about-header {
    max-width: 52rem;
    margin-bottom: 3.5rem;
}

.ag1-about-headline {
    margin-top: 0.5rem;
}

.ag1-about-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .ag1-about-body {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

.ag1-about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ag1-about-lead {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--ocf-heading);
    font-weight: 400;
}

.ag1-about-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.ag1-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Commitment cards: horizontal row */
.ag1-about-commitments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--ocf-border-light);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

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

@media (min-width: 1024px) {
    .ag1-about-commitments {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ag1-commitment-card {
    background: var(--ocf-bg);
    padding: 1.75rem;
}

.ag1-commitment-num {
    display: block;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-2xl);
    font-weight: 300;
    color: var(--ocf-border);
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: color var(--duration-slow) ease;
}

.ag1-commitment-card:hover .ag1-commitment-num {
    color: var(--ocf-heading);
}

.ag1-commitment-card h4 {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ocf-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.ag1-commitment-card p {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    line-height: 1.65;
}

/* ─── Values: clean grid ─── */

.ag1-about-values {
    background: var(--ocf-bg-alt);
}

.ag1-values-header {
    max-width: 36rem;
    margin-bottom: 4rem;
}

.ag1-values-header .eyebrow {
    color: var(--ocf-label);
    margin-bottom: 1rem;
}

.ag1-values-header .heading-section {
    color: var(--ocf-heading);
}

.ag1-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.ag1-value-card {
    background: var(--ocf-bg);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--duration-slow) var(--ease);
}

@media (min-width: 640px) {
    .ag1-value-card { padding: 2.5rem; }
}

.ag1-value-card:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.ag1-value-number {
    display: block;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--ocf-border);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color var(--duration-slow) ease;
}

.ag1-value-card:hover .ag1-value-number {
    color: var(--ocf-heading);
}

.ag1-value-title {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 0.625rem;
}


/* ═══════════════════════════════════════════════
   Contact Page — Monochrome editorial
   ═══════════════════════════════════════════════ */

/* ─── Section wrapper ─── */

.ag1-contact {
    background: var(--ocf-bg);
}

.ag1-contact-heading {
    margin-bottom: 1.25rem;
}

.ag1-contact-intro {
    margin-bottom: 2.5rem;
    max-width: 30rem;
}

/* ─── Contact detail rows ─── */

.ag1-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ag1-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) ease;
}

a.ag1-contact-item:hover .ag1-contact-item-body strong {
    color: var(--ocf-accent);
}

/* ─── Contact icon ─── */

.ag1-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    color: var(--ocf-heading);
    transition: background var(--duration) ease, border-color var(--duration) ease;
}

a.ag1-contact-item:hover .ag1-contact-icon {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}

.ag1-contact-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* ─── Contact item body ─── */

.ag1-contact-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-top: 0.25rem;
}

.ag1-contact-item-body strong {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ocf-heading);
    transition: color var(--duration) ease;
}

.ag1-contact-item-body span {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    line-height: 1.5;
}

/* ─── Contact form card ─── */

.ag1-contact-form-card {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow-lg);
}

.ag1-contact-form-card:hover {
    transform: none;
}

.ag1-contact-form-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ocf-border-light);
}

.ag1-contact-form-header h3 {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ocf-heading);
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.ag1-contact-form-header p {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    line-height: 1.6;
}

/* ─── CF7 form inside card ─── */

.ag1-contact-form-card .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ag1-contact-form-card .wpcf7-form label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ocf-label);
    margin-bottom: 0.375rem;
}

.ag1-contact-form-card .wpcf7-form input[type="text"],
.ag1-contact-form-card .wpcf7-form input[type="email"],
.ag1-contact-form-card .wpcf7-form input[type="tel"],
.ag1-contact-form-card .wpcf7-form input[type="url"],
.ag1-contact-form-card .wpcf7-form textarea,
.ag1-contact-form-card .wpcf7-form select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.ag1-contact-form-card .wpcf7-form input:focus,
.ag1-contact-form-card .wpcf7-form textarea:focus,
.ag1-contact-form-card .wpcf7-form select:focus {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 8%, transparent);
}

.ag1-contact-form-card .wpcf7-form input::placeholder,
.ag1-contact-form-card .wpcf7-form textarea::placeholder {
    color: var(--ocf-divider);
}

.ag1-contact-form-card .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.ag1-contact-form-card .wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--ocf-accent);
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--duration) ease;
}

.ag1-contact-form-card .wpcf7-form input[type="submit"]:hover {
    background: var(--ocf-accent-hover);
}

/* ─── Contact form fallback ─── */

.ag1-contact-form-fallback {
    text-align: center;
    padding: 2rem 0;
}

.ag1-contact-form-fallback p {
    margin-bottom: 1.5rem;
}

/* ─── Validation messages ─── */

.ag1-contact-form-card .wpcf7-not-valid-tip {
    font-size: var(--text-xs);
    color: #dc2626;
    margin-top: 0.25rem;
}

.ag1-contact-form-card .wpcf7-response-output {
    font-size: var(--text-sm);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════════
   Service / Industry Detail — Sidebar layout
   ═══════════════════════════════════════════════ */

/* ─── Section wrapper ─── */

.ag1-detail-section {
    background: var(--ocf-bg);
}

/* ─── Grid: content + sticky sidebar ─── */

.ag1-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ag1-detail-grid {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
    }
}

@media (min-width: 1280px) {
    .ag1-detail-grid { gap: 5rem; }
}

/* ─── Main content column ─── */

.ag1-detail-content {
    min-width: 0;
}

.ag1-detail-lead {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.ag1-detail-img {
    margin-bottom: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.ag1-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(0.1);
}

/* ─── Features grid ─── */

.ag1-detail-features {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--ocf-border-light);
}

.ag1-detail-features-eyebrow {
    margin-bottom: 1.5rem;
}

.ag1-detail-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .ag1-detail-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 2.5rem;
    }
}

.ag1-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
}

.ag1-feature-item svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--ocf-heading);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.ag1-feature-item span {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    line-height: 1.6;
}

/* ─── Sticky CTA sidebar ─── */

.ag1-detail-aside {
    display: none;
}

@media (min-width: 1024px) {
    .ag1-detail-aside { display: block; }
}

.ag1-detail-sticky {
    position: sticky;
    top: 9rem;
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.ag1-detail-sticky-heading {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ocf-heading);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.ag1-detail-sticky-desc {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ag1-detail-sticky-btn {
    width: 100%;
    justify-content: center;
}

.ag1-detail-sticky-btn svg {
    width: 1rem;
    height: 1rem;
}

/* ─── Email link in sidebar ─── */

.ag1-detail-sticky-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ocf-border-light);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ocf-body);
    text-decoration: none;
    transition: color var(--duration) ease;
}

.ag1-detail-sticky-email:hover {
    color: var(--ocf-heading);
}

.ag1-detail-sticky-email svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ─── Bottom note ─── */

.ag1-detail-sticky-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--ocf-body);
    margin-top: 1rem;
    opacity: 0.6;
}

/* ─── Related section ─── */

.ag1-detail-related {
    background: var(--ocf-bg-alt);
}


/* ═══════════════════════════════════════════════
   Blog Article — Clean editorial
   ═══════════════════════════════════════════════ */

/* ─── Article hero banner ─── */

.ag1-article-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ocf-bg-dark);
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .ag1-article-hero { margin-top: -6rem; }
}

.ag1-article-hero-img {
    position: absolute;
    inset: 0;
}

.ag1-article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
}

.ag1-article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--ocf-bg-dark) 92%, transparent) 0%,
        color-mix(in srgb, var(--ocf-bg-dark) 55%, transparent) 50%,
        color-mix(in srgb, var(--ocf-bg-dark) 30%, transparent) 100%
    );
    z-index: 1;
}

.ag1-article-hero-overlay--no-img {
    background:
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.02) 0%, transparent 50%),
        linear-gradient(
            160deg,
            var(--ocf-bg-dark) 0%,
            color-mix(in srgb, var(--ocf-bg-dark) 92%, var(--ocf-border)) 100%
        );
}

.ag1-article-hero-inner {
    position: relative;
    z-index: 10;
    padding-top: 12rem;
    padding-bottom: 6rem;
}

@media (min-width: 1024px) {
    .ag1-article-hero-inner { padding-top: 14rem; padding-bottom: 8rem; }
}

/* Date above title in hero */
.ag1-article-date-hero {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--ocf-body-alt);
    margin-bottom: 1rem;
}

.ag1-article-hero-inner .heading-section {
    color: var(--ocf-heading-alt);
    max-width: 48rem;
}

/* ─── Meta bar (breadcrumbs only) ─── */

.ag1-article-meta-bar {
    background: var(--ocf-bg);
    border-bottom: 1px solid var(--ocf-border-light);
}

.ag1-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: var(--text-sm);
    color: var(--ocf-body);
    text-align: center;
}

.ag1-article-meta nav {
    margin-bottom: 0 !important;
}

.ag1-article-meta a {
    color: var(--ocf-body);
    transition: color var(--duration) ease;
}

.ag1-article-meta a:hover {
    color: var(--ocf-heading);
}

.ag1-article-date svg,
.ag1-article-read svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--ocf-heading);
    flex-shrink: 0;
}

/* ─── Article body ─── */

.ag1-article-body {
    background: var(--ocf-bg);
}

.ag1-article-prose {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* ─── More articles section ─── */

.ag1-article-more {
    background: var(--ocf-bg-alt);
}


/* ═══════════════════════════════════════════════
   Industry Archive — Grid cards
   ═══════════════════════════════════════════════ */

/* ─── Grid layout ─── */

.ag1-industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

/* ─── Industry card ─── */

.ag1-industry-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--ocf-bg);
    border: 1px solid var(--ocf-border-light);
    overflow: hidden;
    text-decoration: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.ag1-industry-card:hover {
    border-color: var(--ocf-border);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--ocf-heading) 8%, transparent);
    transform: translateY(-3px);
}

/* Image area */
.ag1-industry-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ocf-bg-dark);
}

.ag1-industry-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    filter: grayscale(0.15);
}

.ag1-industry-card:hover .ag1-industry-card-img img {
    transform: scale(1.04);
    filter: grayscale(0);
}

/* Text body */
.ag1-industry-card-body {
    position: relative;
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.ag1-industry-card-body h3 {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--ocf-heading);
    padding-right: 2rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color var(--duration) ease;
}

.ag1-industry-card:hover .ag1-industry-card-body h3 {
    color: var(--ocf-accent);
}

.ag1-industry-card-body p {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--ocf-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow */
.ag1-industry-card-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocf-border);
    transition: color var(--duration) ease, transform var(--duration) var(--ease);
}

.ag1-industry-card-arrow svg {
    width: 1.125rem;
    height: 1.125rem;
}

.ag1-industry-card:hover .ag1-industry-card-arrow {
    color: var(--ocf-accent);
    transform: translate(2px, -2px);
}


/* ═══════════════════════════════════════════════
   FAQ — 2-col accordion
   ═══════════════════════════════════════════════ */

.ag1-faq {
    background: var(--ocf-bg-alt);
}

.ag1-faq .eyebrow { color: var(--ocf-label); }
.ag1-faq .heading-section { color: var(--ocf-heading); }

.ag1-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .ag1-faq-grid { grid-template-columns: 1fr 1fr; }
}

.ag1-faq-item {
    background: var(--ocf-bg);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--duration) ease;
}

.ag1-faq-item:hover {
    border-color: var(--ocf-border);
}

/* Trigger button (also uses base1-faq-trigger for JS compatibility) */
.ag1-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ocf-heading);
    line-height: 1.4;
}

/* Icon (rotate on open) */
.ag1-faq-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    color: var(--ocf-body);
    transition: transform var(--duration) ease;
}

.ag1-faq-item.open .ag1-faq-icon {
    transform: rotate(45deg);
}

/* Answer panel */
.ag1-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ag1-faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--ocf-body);
    margin: 0;
}


/* ═══════════════════════════════════════════════
   Placeholder Image
   ═══════════════════════════════════════════════ */

.ag1-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocf-bg-dark);
    color: var(--ocf-border-alt);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.ag1-placeholder svg {
    width: 3rem;
    height: 3rem;
    opacity: 0.3;
}


/* ═══════════════════════════════════════════════
   Footer — Font bump
   ═══════════════════════════════════════════════ */

.site-footer { font-size: var(--text-sm); }


/* ═══════════════════════════════════════════════
   Booking Wizard — Full-screen interactive flow
   ═══════════════════════════════════════════════ */

/* ─── Modal overlay ─── */

.bw-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bw-overlay.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.bw-backdrop {
    display: none;
}

.bw-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--ocf-heading) 6%, transparent);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--ocf-body);
    transition: all var(--duration) ease;
}

.bw-modal-close:hover {
    background: color-mix(in srgb, var(--ocf-heading) 12%, transparent);
    color: var(--ocf-heading);
}

.bw-modal-close svg { width: 1.125rem; height: 1.125rem; }

.bw {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--ocf-bg);
    overflow-y: auto;
}

/* ─── Progress bar ─── */

.bw-progress {
    position: relative;
    width: 100%;
    height: 3px;
    background: var(--ocf-border-light);
    z-index: 2;
    flex-shrink: 0;
}

.bw-progress-bar {
    height: 100%;
    width: 20%;
    background: var(--ocf-accent);
    border-radius: 0 2px 2px 0;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Header ─── */

.bw-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.625rem 1.5rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ocf-border-light);
}

.bw-header-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 639px) {
    .bw-header-brand {
        flex-direction: column;
        gap: 0.125rem;
    }
}

@media (min-width: 1024px) {
    .bw-header { height: 6rem; padding: 0 3rem; }
}

.bw-logo { text-decoration: none; }

.bw-logo-img {
    height: 2rem;
    width: auto;
}

@media (min-width: 1024px) {
    .bw-logo-img { height: 2.5rem; }
}

.bw-logo-text {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
}

.bw-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--ocf-heading);
    text-decoration: none;
    transition: color var(--duration) ease;
}

.bw-phone:hover { color: var(--ocf-accent-hover); }

.bw-phone svg {
    width: 1rem;
    height: 1rem;
}

/* ─── Steps viewport ─── */

.bw-viewport {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1.5rem 0;
}

@media (min-width: 640px) {
    .bw-viewport { padding: 1.5rem 2rem 0; }
}

@media (min-width: 1024px) {
    .bw-viewport { padding: 2rem 3rem 0; }
}

.bw-step {
    display: none;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    animation: bw-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bw-step.is-active {
    display: block;
}

.bw-step.is-leaving {
    animation: bw-fadeOut 0.25s ease forwards;
}

@keyframes bw-fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bw-fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-16px);
    }
}

.bw-step-inner {
    width: 100%;
}

/* ─── Step typography ─── */

.bw-step-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ocf-heading);
    margin-bottom: 0.5rem;
}

.bw-title {
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ocf-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.bw-subtitle {
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
    max-width: 30rem;
}

/* ─── Service tile grid (Step 1 — tile mode) ─── */

.bw-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .bw-service-grid { grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
}

/* ─── Tiles (universal) ─── */

.bw-tile {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    color: var(--ocf-heading);
}

.bw-tile:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.bw-tile.is-selected {
    border-color: var(--ocf-accent);
    background: color-mix(in srgb, var(--ocf-accent) 4%, var(--ocf-bg));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 10%, transparent);
}

.bw-tile.is-selected .bw-tile-check {
    opacity: 1;
    transform: scale(1);
}

.bw-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ocf-heading);
    transition: color 0.25s ease;
}

.bw-tile-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.bw-tile-label {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.3;
}

.bw-tile-check {
    margin-left: auto;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ocf-accent);
    color: var(--ocf-bg);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bw-tile-check svg {
    width: 0.75rem;
    height: 0.75rem;
}

/* ─── Service checklist (wizard select mode) ─── */

.bw-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bw-service-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
}

.bw-service-row:hover {
    border-color: var(--ocf-border);
    background: var(--ocf-bg-alt);
}

.bw-service-row.is-selected {
    border-color: var(--ocf-accent);
    background: color-mix(in srgb, var(--ocf-accent) 4%, var(--ocf-bg));
}

.bw-service-row-check {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ocf-border);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    color: transparent;
}

.bw-service-row.is-selected .bw-service-row-check {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: #fff;
}

.bw-service-row-check svg {
    width: 0.875rem;
    height: 0.875rem;
}

.bw-service-row-label {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--ocf-heading);
}

/* ─── Choice buttons (Step 2 & 3) ─── */

.bw-field-group {
    margin-bottom: 0.875rem;
}

.bw-field-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-label);
    margin-bottom: 0.75rem;
}

.bw-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ocf-divider);
}

.bw-choice-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.bw-choice-row--3 {
    grid-template-columns: repeat(3, 1fr);
}

.bw-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading);
    transition: all 0.25s ease;
}

.bw-choice svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--ocf-body);
    transition: color 0.25s ease;
}

.bw-choice:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow-sm);
}

.bw-choice.is-selected {
    border-color: var(--ocf-accent);
    background: color-mix(in srgb, var(--ocf-accent) 4%, var(--ocf-bg));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 10%, transparent);
}

.bw-choice.is-selected svg {
    color: var(--ocf-heading);
}

/* ─── Textarea ─── */

.bw-textarea {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius);
    outline: none;
    resize: vertical;
    min-height: 90px;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.bw-textarea:focus {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 8%, transparent);
}

.bw-textarea::placeholder {
    color: var(--ocf-divider);
}

/* ─── Form inputs ─── */

.bw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.bw-field-full { grid-column: 1 / -1; }

@media (max-width: 400px) {
    .bw-form-grid { grid-template-columns: 1fr; }
}

.bw-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background: var(--ocf-bg);
    border: 1.5px solid var(--ocf-border-light);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

.bw-input:focus {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 8%, transparent);
}

.bw-input::placeholder {
    color: var(--ocf-divider);
}

.bw-input.bw-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.bw-error-msg {
    font-size: var(--text-xs);
    color: #dc2626;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* ─── Summary (Step 3) ─── */

.bw-summary {
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .bw-summary { padding: 2.5rem; }
}

.bw-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ocf-border-light);
}

.bw-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.bw-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--ocf-heading) 6%, transparent);
    color: var(--ocf-heading);
}

.bw-summary-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.bw-summary-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ocf-label);
    margin-bottom: 0.25rem;
}

.bw-summary-value {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--ocf-heading);
    line-height: 1.4;
}

/* ─── Success state ─── */

.bw-success-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--ocf-heading) 8%, transparent);
    color: var(--ocf-heading);
    animation: bw-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bw-success-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

@keyframes bw-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bw-step--success .bw-title {
    margin-bottom: 1rem;
}

.bw-step--success .bw-subtitle {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.bw-success-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.bw-success-phone {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ocf-body);
    text-decoration: none;
    transition: color var(--duration) ease;
}

.bw-success-phone:hover {
    color: var(--ocf-heading);
}

/* ─── Schedule: time + date side by side ─── */

.bw-schedule-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .bw-schedule-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .bw-schedule-row .bw-field-group { margin-bottom: 0; }
}

/* ─── Date picker row ─── */

.bw-date-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.bw-date-row .bw-choice--asap {
    flex: 0 0 auto;
    min-width: 100px;
}

.bw-date-input-wrap {
    flex: 1;
}

.bw-date-input {
    height: 100%;
    cursor: pointer;
}

.bw-date-input.is-selected {
    border-color: var(--ocf-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent) 10%, transparent);
}

/* ─── Nav buttons ─── */

.bw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .bw-nav { padding: 2.5rem 2rem 3rem; }
}

@media (min-width: 1024px) {
    .bw-nav { padding: 3rem 3rem 4rem; }
}

.bw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.bw-btn svg {
    width: 1rem;
    height: 1rem;
}

.bw-btn--back {
    background: transparent;
    color: var(--ocf-body);
    padding-left: 1rem;
}

.bw-btn--back:hover {
    color: var(--ocf-heading);
}

.bw-btn--next {
    background: var(--ocf-accent);
    color: var(--ocf-bg);
    margin-left: auto;
}

.bw-btn--next:hover {
    background: var(--ocf-accent-hover);
}

.bw-btn--next:active {
    transform: scale(0.98);
}

.bw-btn--next.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ─── Next button group + Enter hint ─── */

.bw-next-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.bw-key-hint {
    display: none;
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--ocf-label);
    line-height: 1;
}

.bw-key-hint strong {
    font-weight: 600;
    color: var(--ocf-heading);
}

@media (min-width: 768px) {
    .bw-key-hint { display: block; }
}

/* ─── Shake validation ─── */

@keyframes bw-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.bw-shake {
    animation: bw-shake 0.4s ease;
}

/* ─── "Other" type-in input ─── */

.bw-other-input-wrap {
    margin-top: 0.75rem;
    animation: bw-fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─── Mobile refinements ─── */

@media (max-width: 479px) {
    .bw-choice-row--3 {
        grid-template-columns: 1fr;
    }
    .bw-title {
        font-size: var(--text-2xl);
    }
}


/* ═══════════════════════════════════════════════
   Post Card Overlay — Hover lift for overlay cards
   ═══════════════════════════════════════════════ */

.post-card--overlay:hover .post-card-bg img {
    transform: scale(1.04);
}

.post-card--overlay:hover .post-card-overlay {
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--ocf-bg) 95%, transparent) 0%,
        color-mix(in srgb, var(--ocf-bg) 70%, transparent) 50%,
        color-mix(in srgb, var(--ocf-bg) 40%, transparent) 100%
    );
}


/* ═══════════════════════════════════════════════
   Monochrome Refinements — Global overrides
   ═══════════════════════════════════════════════ */

/* Ensure monochrome feel on all accent elements */
.eyebrow {
    letter-spacing: 0.2em;
}

/* Subtle monochrome hover on post cards */
.post-card:hover .post-card-title a {
    color: var(--ocf-accent-hover);
}

/* Nav link active state — monochrome underline */
.nav-link.is-active::after {
    background: var(--ocf-heading);
}

/* btn-secondary monochrome refinement */
.btn-secondary {
    border-color: var(--ocf-border);
}

.btn-secondary:hover {
    background: var(--ocf-accent);
    border-color: var(--ocf-accent);
    color: var(--ocf-heading-alt);
}
