/* Douglas Fir owner page — scoped to .douglas-fir-owner */

.douglas-fir-owner {
    --df-ink: #111111;
    --df-muted: #5c5c5c;
    --df-line: rgba(26, 71, 42, 0.12);
    color: var(--df-ink);
}

.douglas-fir-owner section[id] {
    scroll-margin-top: 130px;
}

.douglas-fir-owner .df-hero {
    min-height: min(62vh, 560px);
}

.douglas-fir-owner .df-hero .breadcrumb-trail {
    color: rgba(255, 255, 255, 0.85);
}

.douglas-fir-owner .df-hero h1 {
    color: #fff;
    max-width: 18ch;
}

.douglas-fir-owner .df-hero-lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 40rem;
    font-size: 1.05rem;
    margin: 0.75rem 0 1.25rem;
}

.douglas-fir-owner .df-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.douglas-fir-owner .df-btn-on-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.douglas-fir-owner .df-btn-on-dark:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.douglas-fir-owner .df-anchor-nav {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(245, 245, 245, 0.96);
    border-bottom: 1px solid var(--df-line);
}

.douglas-fir-owner .df-anchor-list {
    list-style: none;
    margin: 0;
    padding: 0.55rem 0;
    display: flex;
    gap: 0.35rem 1.1rem;
    overflow-x: auto;
    white-space: nowrap;
}

.douglas-fir-owner .df-anchor-list a {
    color: var(--timber-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.douglas-fir-owner .df-anchor-list a:hover,
.douglas-fir-owner .df-anchor-list a:focus-visible {
    border-bottom-color: var(--timber-gold);
    outline: none;
}

.douglas-fir-owner .df-facts {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
}

.douglas-fir-owner .df-facts li {
    margin-bottom: 0.55rem;
}

.douglas-fir-owner .df-disclaimer {
    background: var(--timber-cream);
    border-left: 4px solid var(--timber-gold);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.douglas-fir-owner .df-size-group {
    margin: 0.35rem 0;
}

.douglas-fir-owner .df-sidebar-cta .btn-gold {
    margin-bottom: 0.65rem;
}

.douglas-fir-owner .df-sidebar-quote {
    display: block;
}

.douglas-fir-owner .df-takeoff {
    background: #fff;
    border: 1px solid var(--timber-border);
    border-radius: 8px;
    padding: 1.25rem;
}

.douglas-fir-owner .df-takeoff-row {
    border: 1px solid var(--timber-border);
    border-radius: 6px;
    padding: 0.85rem 1rem 1rem;
    margin: 0 0 1rem;
}

.douglas-fir-owner .df-row-legend {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--timber-green);
    float: none;
    width: auto;
    padding: 0 0.35rem;
}

.douglas-fir-owner .df-row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.douglas-fir-owner .df-span-2 {
    grid-column: 1 / -1;
}

.douglas-fir-owner .df-takeoff-row label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--timber-green);
}

.douglas-fir-owner .df-takeoff-row input,
.douglas-fir-owner .df-takeoff-row select {
    font-weight: 400;
    color: var(--df-ink);
    border: 1px solid var(--timber-border);
    border-radius: 4px;
    padding: 0.4rem 0.5rem;
    width: 100%;
}

.douglas-fir-owner .df-takeoff-row input:focus,
.douglas-fir-owner .df-takeoff-row select:focus {
    outline: 2px solid var(--timber-gold);
    outline-offset: 1px;
}

.douglas-fir-owner .df-row-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.douglas-fir-owner .df-dup,
.douglas-fir-owner .df-remove {
    background: none;
    border: 0;
    padding: 0;
    color: var(--timber-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.douglas-fir-owner .df-remove {
    color: #8a2f2f;
}

.douglas-fir-owner .df-takeoff-toolbar {
    margin: 0.25rem 0 1rem;
}

.douglas-fir-owner .df-summary {
    background: var(--timber-cream);
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.douglas-fir-owner .df-takeoff-error {
    color: #8a2f2f;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.douglas-fir-owner .df-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.douglas-fir-owner .df-photo-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.douglas-fir-owner .df-final-cta {
    text-align: center;
    padding-bottom: 3rem;
}

.douglas-fir-owner .df-final-cta .btn-timber,
.douglas-fir-owner .df-final-cta .btn-timber-outline {
    margin: 0.35rem;
}

@media (max-width: 767.98px) {
    .douglas-fir-owner .df-row-grid,
    .douglas-fir-owner .df-photo-grid {
        grid-template-columns: 1fr;
    }

    .douglas-fir-owner .df-photo-grid img {
        height: 200px;
    }

    .douglas-fir-owner .df-hero h1 {
        max-width: none;
        font-size: 1.85rem;
    }
}
