:root {
    --bg: #0c0d0f;
    --panel: #121418;
    --ink: #ececec;
    --muted: #b6bcc3;
    --brand: #a1773a;
    --brand-dark: #7e5c2e
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif
}

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

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
     font-weight: bold;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: var(--ink);
    color: #000;
    padding: .5rem .75rem;
    border-radius: .25rem
}

/* Header */
.site-header {
    background: linear-gradient(0deg, #101214, #15181b);
    border-bottom: 1px solid #1c2025;
    position: sticky;
    top: 0;
    z-index: 20
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink);
    text-decoration: none
}

.brand-stack {
    display: grid;
    line-height: 1
}

.brand-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: .3px;
    font-size: 1.15rem
}

.brand-sub {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .8rem;
    color: var(--muted)
}

.brand:hover{
    font-weight: normal;
    color: var( --brand) !important;
}
 .brand:hover .brand-sub{
    font-weight: normal;
    color: var( --brand) !important;
}
 
.menu-button {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer
}

.menu-button .menu-bar {
    width: 26px;
    height: 2px;
    background: #e6e6e6;
    display: block;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s
}

.menu-button.open .menu-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
}

.menu-button.open .menu-bar:nth-child(2) {
    opacity: 0
}

.menu-button.open .menu-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
}

.menu-panel {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0f1215;
    border: 1px solid #22272d;
    width: min(260px, 86%);
    border-radius: .8rem;
    padding: .75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease
}

.menu-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .25rem
}

.menu-panel a {
    display: block;
    padding: .6rem .7rem;
    border-radius: .5rem;
    color: var(--ink)
}

    .menu-panel a:hover {
        font-weight: normal;
        color: #a1773a;
    }

.menu-panel a[aria-current='page'] {
    background: rgba(161, 119, 58, .15);
    border: 1px solid rgba(161, 119, 58, .35)
}

/* Desktop navigation layout */
@media (min-width: 768px) {
    /* Brand on the left, menu on the right */
    .header-inner {
        align-items: center;
    }

    /* Hide hamburger on desktop */
    .menu-button {
        display: none;
    }

    /* Turn the menu panel into a normal inline nav */
    .menu-panel {
        position: static;
        top: auto;
        right: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        width: auto;
        padding: 0;
        /* Always visible on desktop */
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

        .menu-panel.open {
            /* ensure toggle class doesn't change anything on desktop */
            opacity: 1;
            pointer-events: auto;
            transform: none;
        }

        /* Horizontal list of links */
        .menu-panel ul {
            display: flex;
            gap: 1rem; /* tweak to taste */
        }

        .menu-panel a {
            padding: .4rem .7rem;
            border-radius: 999px; /* or .5rem if you want squarer pills */
        }
}


/* Hero */
.hero--banner {
    background: radial-gradient(1000px 400px at 10% 0%, #1a2026, transparent),
        linear-gradient(180deg, #101214, transparent 50%);
    border-bottom: 1px solid #1e2125;
    min-height: 58vh;
    display: grid;
    place-items: center;
    text-align: center;
        background: url(/assets/images/hero.jpg);
        background-size: cover;
        background-position: -90px;
}

.hero-content {
    padding: 4rem 0 3rem
}

.hero-content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin: 0 0 .75rem
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 auto 1.25rem
}

.btn {
    display: inline-block;
    padding: .75rem 1.1rem;
    border: 1px solid #2a3036;
    border-radius: .7rem;
    background: #161a1e;
    color: var(--ink)
}

/* .btn:hover {
    background: #1b2026
} */

.btn-lg {
    padding: .9rem 1.2rem;
    font-weight: 600
}

.btn-primary {
    background: linear-gradient(180deg, var(--brand), var(--brand-dark));
    color: #0b0c0d;
    border: 1px solid #916834;
    font-weight: 700;
       
    box-shadow: #000 0px 0px 18px;
}

.btn-primary:hover {
    filter: brightness(1.05)
}

/* Tiles */
.features-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: -2rem auto 2rem
}

.tile {
    background: var(--panel);
    border: 1px solid #23272c;
    border-radius: .9rem;
    overflow: hidden
}

.tile-media img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%
}

.tile h3 {
    margin: .65rem .75rem 1rem;
    font-size: 1.05rem;
    font-family: Georgia, 'Times New Roman', serif
}

/* Craft */
.craft-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0 2rem
}

.craft-copy h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    margin-bottom: .4rem
}

.link-underline {
    text-decoration: underline;
    text-underline-offset: 4px
}

.craft-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

.craft-photos img {
    border: 1px solid #23272c;
    border-radius: .6rem;
    aspect-ratio: 4/3;
    object-fit: cover
}

/* Footer */
.site-footer {
    border-top: 1px solid #1e2125;
    background: linear-gradient(180deg, #101214, #0d0f10);
    margin-top: 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
    padding: 2rem 0
}

.badge-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: .5rem 0 0
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .25rem
}

.footer-bottom {
    border-top: 1px solid #1e2125;
    padding: .75rem 0;
    color: var(--muted)
}

/* Responsive */
@media (max-width:1020px) {
    .features-tiles {
        grid-template-columns: repeat(2, 1fr)
    }

    .craft-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:680px) {
    .features-tiles {
        grid-template-columns: 1fr
    }

    .brand-text {
        font-size: 1rem
    }

    .menu-panel {
        right: 2%;
        width: 96%
    }
}


/* About & Legacy */
.about-section { padding: 2rem 0 3rem; }
.about-hero { margin-bottom: 1rem; }
.about-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 .25rem;
}
.about-sub { color: var(--muted); margin: 0 0 .5rem; }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Left column: portrait + timeline */
.about-figure {
  background: var(--panel, #121418);
  border: 1px solid #23272c;
  border-radius: .8rem;
  overflow: hidden;
  padding-bottom: 1rem;
}
.about-figure img { display: block; width: 100%; height: auto; }
.about-figure figcaption { padding: .6rem .75rem; font-size: .9rem; color: var(--muted); text-align: center; }

/* Timeline inside image column */
.timeline { margin-top: 1.25rem; padding: 0 1rem; }
.timeline-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin-bottom: .75rem;
  color: var(--brand, #a1773a);
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(161,119,58,.4);
}
.timeline-list li {
  position: relative;
  padding: .5rem 0 .5rem 1rem;
  line-height: 1.4;
}
.timeline-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: .9rem;
  width: 10px;
  height: 10px;
  background: var(--brand, #a1773a);
  border-radius: 50%;
}
.timeline-list .year {
  font-weight: 600;
  color: var(--brand, #a1773a);
  margin-right: .25rem;
}

/* Biography text */
.prose { font-size: 1.03rem; }
.prose p { margin: 0 0 1rem; }
.prose em { color: #d4d4d4; }

/* Responsive */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
}

/* Subpage hero (About) */
.hero--subpage {
  min-height: 36vh;
  display: grid;
  place-items: center;
  text-align: left;
  background:
    radial-gradient(900px 380px at 8% 0%, #1a2026 0%, transparent 55%),
    linear-gradient(180deg, #101214 0%, #0c0d0f 60%);
  border-bottom: 1px solid #1e2125;

    background: url(/assets/images/about-hero.jpg);
        background-size: cover;
        background-position: -90px;
}
.hero-content--left { text-align: left; width: 100%; }
.hero--subpage .lead { max-width: 820px; }


.hero-services {
 
    background: url(/assets/images/hero-services.jpg);
        background-size: cover;
        background-position: -90px;
}
.hero-contact {
 
    background: url(/assets/images/contact-hero.jpg);
        background-size: cover;
        background-position: -90px;
}
.eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 .25rem;
  display: inline-block;
  border-left: 3px solid var(--brand);
  padding-left: .5rem;
}

/* Optional: slightly smaller page hero typography vs homepage */
.hero--subpage h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin: 0 0 .5rem;
}

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

/* Services layout */
.services { padding: 3rem 0; }
.services-intro { max-width: 720px; margin: 0 auto 2rem; text-align: center; color: var(--muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid #23272c;
  border-radius: .8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.service-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-content {
  padding: 1rem 1.25rem 1.25rem;
}
.service-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  margin: 0 0 .5rem;
  color: var(--brand);
}
.service-content p {
  margin: 0;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.6;
}

/* Quote footer */
.quote-section {
  background: linear-gradient(180deg, #101214, #0d0f10);
  border-top: 1px solid #1e2125;
  border-bottom: 1px solid #1e2125;
  padding: 3rem 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 auto;
  max-width: 720px;
}
.quote-section footer {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--brand);
}
/* Contact page */
.contact { padding: 3rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-details h2,
.contact-form h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: .5rem;
}
.contact-details p { color: var(--ink); margin-bottom: 1rem; }
.contact-details a { color: var(--brand); }

.map iframe {
  width: 100%;
  height: 260px;
  border: 1px solid #23272c;
  border-radius: .5rem;
}

/* Form styling */
.contact-form {
  background: var(--panel);
  border: 1px solid #23272c;
  border-radius: .8rem;
  padding: 1.5rem 1.75rem;
  display: grid;
  gap: .75rem;
}
.contact-form label {
  font-size: .9rem;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #2a2e33;
  border-radius: .5rem;
  background: #0f1215;
  color: var(--ink);
  font-size: .95rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.contact-form button {
  margin-top: .75rem;
  justify-self: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map iframe { height: 220px; }
}


/* Gallery grid */
.gallery {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: .5rem;
    border: 1px solid #23272c;
    cursor: pointer;
    background: none;
    padding: 0;
}

    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .25s ease, filter .25s ease;
        max-height: 160px;
        min-height: 160px;
        min-width: 196px;
    }

    .gallery-item:hover img {
        transform: scale(1.04);
        filter: brightness(1.06);
    }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 40;
}

    .lightbox.open {
        opacity: 1;
        pointer-events: auto;
    }

    .lightbox img {
        max-width: min(90vw, 1100px);
        max-height: 80vh;
        border-radius: .5rem;
        box-shadow: 0 12px 40px rgba(0,0,0,.6);
    }

    .lightbox p {
        margin-top: .75rem;
        color: var(--muted);
        max-width: 900px;
        text-align: center;
    }

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-inner {
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    border-radius: 999px;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.65);
}
.gallery-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.gallery-page-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
    cursor: pointer;
}

    .gallery-page-btn.is-current {
        background: #222;
        color: #fff;
        border-color: #222;
    }

    .gallery-page-btn.is-disabled {
        opacity: 0.5;
        cursor: default;
    }

/* Lightbox image animation */
#lightboxImage {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

    #lightboxImage.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
/* ---------- Lightbox spinner ---------- */

.lightbox-inner {
    position: relative;
}

.lightbox-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 150ms ease;
}

    .lightbox-spinner.is-visible {
        opacity: 1;
    }

    .lightbox-spinner::after {
        content: "";
        width: 42px;
        height: 42px;
        border: 3px solid rgba(255, 255, 255, 0.25);
        border-top-color: #fff;
        border-radius: 50%;
        animation: lightbox-spin 0.8s linear infinite;
    }

@keyframes lightbox-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Your existing image animation (if not already added) ---------- */

#lightboxImage {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 200ms ease, transform 200ms ease;
}

    #lightboxImage.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}