/* -------------------------------------------------------
   DAMON CALDERWOOD — premium, responsive starter theme
   Palette: ivory / charcoal / crimson, inspired by the logo
-------------------------------------------------------- */
:root {
    --paper: #f7f5f1;
    --paper-deep: #efebe4;
    --ink: #171717;
    --ink-soft: #34312f;
    --muted: #77716b;
    --line: rgba(23, 23, 23, .14);
    --red: #e50932;
    --red-dark: #b90027;
    --white: #fff;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --container: 1160px;
    --header-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 1000; padding: 12px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 34px; padding-bottom: 28px; z-index: 100; height: var(--header-height); background: rgba(247,245,241,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 93px; height: 120px; object-fit: contain; }
.brand-name, .footer-brand { font-size: 24px; letter-spacing: .17em; font-weight: 500; white-space: nowrap; }
.brand-name strong, .footer-brand strong { font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: 42px; height: 100%; }
.nav-link { position: relative; display: inline-flex; align-items: center; height: 100%; color: #5e5954; font-size: 13px; font-weight: 600; transition: color .2s ease; }
/* Red navigation underline */
.nav-link::after {
    position: absolute;
    content: "";
    left: 0;
    right: 100%;
    bottom: 23px;
    height: 2px;
    background: #E50932;
    transition: right .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: 690px; display: flex; align-items: center; overflow: hidden; padding: 92px 0 110px; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -170px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(229,9,50,.09), rgba(229,9,50,0) 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: var(--red-dark); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { width: 32px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 24px; font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
h1 { max-width: 700px; font-size: clamp(48px, 6.2vw, 82px); }
h1 em, h2 em { color: var(--red); font-weight: 500; }
.hero-text { max-width: 510px; margin-bottom: 34px; color: #69635d; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 0 22px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 12px 28px rgba(229,9,50,.18); }
.button-primary:hover { background: var(--red-dark); }
.text-link, .underlined-link { font-size: 12px; font-weight: 700; }
.text-link span, .underlined-link span { margin-left: 8px; color: var(--red); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 65px; color: #827b74; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.note-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.hero-art { position: relative; min-height: 450px; display: grid; place-items: center; }
.hero-logo-card { position: relative; z-index: 2; display: grid; place-items: center; width: min(350px, 78%); aspect-ratio: .88; padding: 38px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 28px 80px rgba(39,31,26,.09); transform: rotate(2deg); }
.hero-logo-card img { width: 100%; height: 100%; object-fit: contain; }
.art-ring { position: absolute; border: 1px solid rgba(229,9,50,.2); border-radius: 50%; }
.art-ring-one { width: 430px; height: 430px; }
.art-ring-two { width: 510px; height: 510px; border-color: rgba(23,23,23,.08); }
.art-caption { position: absolute; z-index: 3; right: 0; bottom: 30px; padding: 11px 15px; background: var(--ink); color: var(--white); font-size: 9px; letter-spacing: .2em; }
.scroll-cue { position: absolute; bottom: 30px; left: max(32px, calc((100% - var(--container))/2)); display: flex; align-items: center; gap: 12px; color: #8a837c; font-size: 8px; letter-spacing: .2em; font-weight: 700; }
.scroll-cue span { width: 34px; height: 1px; background: var(--red); }

/* About */
.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
h2 { font-size: clamp(40px, 4.5vw, 62px); }
.intro-content { padding-top: 42px; }
.section-lead { max-width: 550px; color: var(--ink-soft); font-family: var(--serif); font-size: 24px; line-height: 1.55; }
.muted { max-width: 520px; margin: 22px 0 32px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.underlined-link { display: inline-block; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* Workshops */
.workshops { background: var(--paper-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 58px; }
.section-heading h2 { margin-bottom: 0; }
.heading-aside { max-width: 310px; margin-bottom: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.workshop-panel { display: grid; grid-template-columns: 150px 1fr 60px; align-items: center; gap: 35px; padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshop-number { color: var(--red); font-family: var(--serif); font-size: 32px; }
.workshop-number span { display: block; margin-top: 6px; color: var(--muted); font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.workshop-info h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.workshop-info p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.round-link { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(23,23,23,.25); border-radius: 50%; font-size: 20px; transition: all .2s; }
.round-link:hover { border-color: var(--red); background: var(--red); color: var(--white); transform: rotate(45deg); }
.coming-soon { margin: 18px 0 0; color: #918981; font-size: 8px; font-weight: 700; letter-spacing: .18em; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { letter-spacing: .16em; }
.footer-inner p, .copyright { margin: 0; color: #aaa39d; font-size: 11px; }

/* Responsive */
@media (max-width: 900px) {
    .section { padding: 88px 0; }
    .hero { min-height: auto; padding: 78px 0 100px; }
    .hero-grid { grid-template-columns: 1fr .8fr; gap: 25px; }
    .hero-art { min-height: 360px; }
    .art-ring-one { width: 330px; height: 330px; }
    .art-ring-two { width: 390px; height: 390px; }
    .hero-logo-card { padding: 25px; }
    .intro-grid { gap: 50px; }
    .section-heading { align-items: start; }
}
@media (max-width: 680px) {
    :root { --header-height: 74px; }
    .container { width: min(100% - 40px, var(--container)); }
    .brand img { width: 39px; height: 48px; }
    .brand-name { font-size: 10px; }
    .menu-toggle { position: relative; z-index: 102; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: transform .2s; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: var(--header-height) 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 12px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-link { height: auto; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
    .nav-link::after { display: none; }
    .hero { padding: 68px 0 88px; }
    .hero-grid { grid-template-columns: 1fr; gap: 25px; }
    h1 { font-size: clamp(46px, 12vw, 68px); }
    .hero-text { font-size: 14px; }
    .hero-note { margin-top: 40px; }
    .hero-art { min-height: 330px; margin-top: 10px; }
    .hero-logo-card { width: 235px; padding: 24px; }
    .art-ring-one { width: 300px; height: 300px; }
    .art-ring-two { width: 350px; height: 350px; }
    .art-caption { right: 4%; bottom: 8px; }
    .scroll-cue { left: 20px; bottom: 25px; }
    .intro-grid { grid-template-columns: 1fr; gap: 0; }
    .intro-content { padding-top: 0; }
    .section-lead { font-size: 21px; }
    .section-heading { display: block; margin-bottom: 38px; }
    .heading-aside { margin-top: 24px; }
    .workshop-panel { grid-template-columns: 1fr 52px; gap: 15px; padding: 28px 0; }
    .workshop-number { grid-column: 1 / -1; font-size: 25px; }
    .workshop-info h3 { font-size: 23px; }
    .round-link { grid-column: 2; grid-row: 2; width: 46px; height: 46px; }
    .footer-inner { min-height: 150px; flex-wrap: wrap; justify-content: space-between; padding-block: 28px; }
    .footer-inner p { order: 3; width: 100%; }
    .copyright { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}










/* Header CTA Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 17px;
    min-height: 43px;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all .25s ease;
}

.nav-btn span {
    font-size: 17px;
    line-height: 1;
}

/* Donate */
.btn-donate {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn-donate:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

/* Subscribe */
.btn-subscribe {
    background: transparent;
    color: var(--ink);
    border-color: var(--red);
}

.btn-subscribe:hover {
    background: var(--red);
    color: #fff;
}

/* Contact */
.btn-contact {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.btn-contact:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 680px) {
    .nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 22px 0 0;
    }

    .nav-btn {
        width: 100%;
        min-height: 48px;
        font-size: 12px;
    }
}



/* YouTube Button */
.btn-youtube {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.btn-youtube svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-youtube:hover {
    background: #E50932;
    border-color: #E50932;
    color: #fff;
    transform: translateY(-2px);
}



/* ==========================================
   HEADER LAYOUT FIX — DESKTOP
========================================== */

/* Give header more horizontal space */
.site-header {
    top: 0;
    padding-bottom: 0;
    height: 120px;
}

.header-inner {
    width: calc(100% - 80px);
    max-width: 1760px;
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Preserve logo and brand name sizes */
.brand {
    flex-shrink: 0;
    gap: 12px;
}

.brand img {
    width: 93px;
    height: 120px;
    object-fit: contain;
}

.brand-name {
    font-size: 24px;
    letter-spacing: .17em;
    white-space: nowrap;
}

/* Navigation spacing */
.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    gap: 20px;
}

.nav-link {
    flex-shrink: 0;
    font-size: 12px;
}

/* Compact CTA buttons */
.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 7px;
    margin-left: 5px;
}

.nav-btn {
    min-height: 39px;
    padding: 9px 11px;
    gap: 6px;
    font-size: 9px;
    letter-spacing: .04em;
}

.nav-btn span {
    font-size: 14px;
}

.nav-btn svg {
    width: 14px;
    height: 14px;
}

/* ==========================================
   TABLET — HAMBURGER NAVIGATION
========================================== */

@media (max-width: 1350px) {

    .site-header {
        height: 100px;
    }

    .header-inner {
        width: calc(100% - 48px);
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        position: relative;
        z-index: 102;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid var(--line);
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1.5px;
        background: var(--ink);
        transition: transform .2s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.75px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.75px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        z-index: 101;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 15px 24px 25px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px rgba(0,0,0,.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .2s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        height: auto;
        padding: 15px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 20px 0 0;
    }

    .nav-btn {
        width: 100%;
        min-height: 46px;
        font-size: 11px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 680px) {

    .site-header {
        height: 74px;
    }

    .header-inner {
        width: calc(100% - 40px);
    }

    .brand img {
        width: 39px;
        height: 48px;
    }

    .brand-name {
        font-size: 10px;
        letter-spacing: .10em;
    }

    .primary-nav {
        top: 74px;
        max-height: calc(100vh - 74px);
        padding: 12px 20px 24px;
    }

    .nav-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nav-btn {
        min-height: 48px;
        font-size: 12px;
    }
}


/* Initially active menu item */
.nav-link.active {
    color: var(--red);
}

.nav-link.active::after {
    right: 0;
    background: var(--red);
}

/* Other menu items */
.nav-link:not(.active) {
    color: var(--ink);
}

.nav-link:not(.active):hover {
    color: var(--red);
}

.nav-link:not(.active)::after {
    right: 100%;
}

.nav-link:not(.active):hover::after {
    right: 0;
}




/*slider home section */

/* =========================================
   HERO PHOTOGRAPHY SLIDER
========================================= */

.hero-slider {
    background: var(--paper);
    padding: 0px 0 55px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    min-height: 480px;
}

/* Individual slides */

.hero-slide {
    display: none;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 65px;
    min-height: 480px;
}

.hero-slide.active {
    display: grid;
    animation: slideReveal .7s ease both;
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left content */

.slide-content {
    max-width: 490px;
}

.slide-content h1 {
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.08;
    margin-bottom: 25px;
}

.slide-content h1 em {
    display: block;
    color: var(--red);
    font-style: italic;
}

.slide-content .hero-text {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.9;
}

/* Right image */

.slide-image {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background: var(--paper-deep);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.hero-slide.active .slide-image img {
    transform: scale(1);
}

.slide-image:hover img {
    transform: scale(1.04);
}

.image-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 11px 15px;
    background: var(--ink);
    color: var(--white);
    font-size: 9px;
    letter-spacing: .16em;
    font-weight: 700;
}

/* Controls */

.slider-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #c9c2ba;
    cursor: pointer;
    transition: all .3s ease;
}

.slider-dot.active {
    width: 32px;
    border-radius: 10px;
    background: var(--red);
}

.slider-prev,
.slider-next {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
    transition: all .25s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}


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

@media (max-width: 900px) {

    .hero-slide {
        gap: 30px;
        grid-template-columns: 1fr 1fr;
        min-height: 380px;
    }

    .slider-wrapper {
        min-height: 380px;
    }

    .slide-image {
        height: 360px;
    }

    .slide-content h1 {
        font-size: 43px;
    }

}

@media (max-width: 680px) {

    .hero-slider {
        padding: 45px 0 40px;
    }

    .slider-wrapper {
        min-height: auto;
    }

    .hero-slide.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .slide-content {
        max-width: 100%;
    }

    .slide-content h1 {
        font-size: clamp(40px, 11vw, 54px);
    }

    .slide-content .hero-text {
        font-size: 14px;
    }

    .slide-image {
        height: 300px;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }

}



/* =========================================
   SLIDER SIDE ARROWS
========================================= */

.slider-wrapper {
    position: relative;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    left: 41%;
    right: -4%;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
    transform: translateY(-50%);

    pointer-events: none;
}

.slider-prev,
.slider-next {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;

    background: rgba(23,23,23,.65);
    color: #fff;

    font-size: 21px;
    cursor: pointer;
    pointer-events: auto;

    transition: all .3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.08);
}

/* Tablet */
@media (max-width: 900px) {
    .slider-navigation {
        left: 50%;
        padding: 0 10px;
    }

    .slider-prev,
    .slider-next {
        width: 38px;
        height: 38px;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .slider-navigation {
        top: auto;
        bottom: 130px;
        left: 0;
        right: 0;
        padding: 0 12px;
        transform: none;
    }
}

