/* ============================================
   SHOP DOG BREWING CO. — Stylesheet
   Palette: Deep Navy (#0A1628) + Warm Gold (#B8860B)
   Fonts: Playfair Display / Lora / Inter
   ============================================ */

/* ── Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; line-height: 1.7; color: #1a1a1a; background: #FAF8F5; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ────────────────────── */
:root {
    --navy: #0A1628;
    --navy-light: #132238;
    --navy-mid: #1C3047;
    --gold: #B8860B;
    --gold-light: #D4A843;
    --gold-pale: #F5E6C8;
    --cream: #FAF8F5;
    --cream-dark: #F0EBE3;
    --warm-gray: #6B6560;
    --warm-gray-light: #9B9590;
    --text-dark: #1A1A1A;
    --text-light: #F5F3EF;
    --serif: 'Playfair Display', Georgia, serif;
    --serif-body: 'Lora', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
    --shadow-md: 0 4px 20px rgba(10,22,40,0.10);
    --shadow-lg: 0 8px 40px rgba(10,22,40,0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Typography ───────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--navy); }
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-eyebrow--light { color: var(--gold-light); }
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.5rem;
}
.section-title--light { color: var(--text-light); }

/* ── Skip Link ────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* ── Buttons ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn--gold {
    background: var(--gold);
    color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--submit {
    background: var(--gold);
    color: var(--navy);
    margin-top: 0.5rem;
}
.btn--submit:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ── Navigation ───────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
    transition: var(--transition);
}
.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-light);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 500;
}
.nav__logo {
    width: 32px;
    height: 32px;
    color: var(--gold);
    flex-shrink: 0;
}
.nav__accent { color: var(--gold); }
.nav__links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.nav__links a {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 243, 239, 0.75);
    transition: var(--transition);
    position: relative;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav__bar {
    display: block;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 72px 2rem 4rem;
}
.hero__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
.hero__eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.hero__headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}
.hero__headline em { font-style: italic; color: var(--gold-light); }
.hero__gold { color: var(--gold); }
.hero__body {
    font-family: var(--serif-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(245, 243, 239, 0.72);
    max-width: 520px;
    margin-bottom: 2.5rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero__image {
    position: relative;
    height: 70vh;
    max-height: 780px;
}
.hero__image-frame {
    position: relative;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 243, 239, 0.4);
}
.hero__scroll svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ── Story ────────────────────────────────── */
.story {
    padding: 8rem 2rem;
    background: var(--cream);
}
.story__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: start;
}
.story__content { max-width: 560px; }
.story__body {
    font-family: var(--serif-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}
.story__quote {
    margin-top: 2.5rem;
    padding: 2rem 2.25rem;
    background: var(--navy);
    border-radius: var(--radius-lg);
    position: relative;
}
.story__quote::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-family: var(--serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.3;
}
.story__quote p {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.story__quote cite {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}
.story__image {
    position: relative;
    padding-top: 3rem;
}
.story__image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.story__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.story__image-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}
.story__image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Brews ────────────────────────────────── */
.brews {
    padding: 8rem 2rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.brews__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(184,134,11,0.06) 0%, transparent 50%),
                       radial-gradient(circle at 80% 20%, rgba(184,134,11,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.brews__inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.brews__header {
    max-width: 640px;
    margin-bottom: 4rem;
}
.brews__lead {
    font-family: var(--serif-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(245, 243, 239, 0.65);
}
.brews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.brew-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.brew-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(184,134,11,0.3);
    transform: translateY(-2px);
}
.brew-card--featured {
    border-color: rgba(184,134,11,0.35);
    background: rgba(184,134,11,0.06);
}
.brew-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}
.brew-card__mark {
    width: 44px;
    height: 44px;
    color: var(--gold);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}
.brew-card__mark svg {
    width: 100%;
    height: 100%;
}
.brew-card__name {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.brew-card__desc {
    font-family: var(--serif-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(245, 243, 239, 0.6);
    margin-bottom: 1.5rem;
}
.brew-card__meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.brew-card__tag {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gold-light);
    background: rgba(184,134,11,0.12);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
}
.brews__note {
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: rgba(245, 243, 239, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.brews__note svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
}

/* ── Visit ────────────────────────────────── */
.visit {
    padding: 8rem 2rem;
    background: var(--cream);
}
.visit__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 4rem;
    align-items: center;
}
.visit__content { max-width: 560px; }
.visit__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.visit__detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.visit__detail svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.visit__detail strong {
    display: block;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.visit__detail span,
.visit__detail a {
    font-family: var(--serif-body);
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.6;
}
.visit__detail a:hover { color: var(--gold); }
.visit__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 600px;
}
.visit__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Contact ──────────────────────────────── */
.contact {
    padding: 8rem 2rem;
    background: var(--cream-dark);
}
.contact__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}
.contact__content { max-width: 600px; }
.contact__form { margin-top: 2.5rem; }
.contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.contact__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.contact__field label {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--navy);
}
.contact__field input,
.contact__field select,
.contact__field textarea {
    font-family: var(--serif-body);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid rgba(10,22,40,0.15);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
}
.contact__field input::placeholder,
.contact__field textarea::placeholder {
    color: var(--warm-gray-light);
}
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}
.contact__field textarea {
    resize: vertical;
    min-height: 120px;
}
.contact__success {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(184,134,11,0.08);
    border: 1px solid rgba(184,134,11,0.25);
    border-radius: var(--radius);
    font-family: var(--serif-body);
    font-size: 0.9375rem;
    color: var(--navy);
}
.contact__success svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}
.contact__aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact__card {
    background: var(--cream);
    border: 1px solid rgba(10,22,40,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.contact__card--accent {
    background: var(--navy);
    border-color: transparent;
}
.contact__card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.contact__card--accent h3 { color: var(--text-light); }
.contact__card-text {
    font-family: var(--serif-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
}
.contact__card--accent .contact__card-text { color: rgba(245,243,239,0.7); }
.contact__card-text--muted {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
    margin-top: 0.75rem;
}
.contact__card--accent .contact__card-text--muted { color: rgba(245,243,239,0.45); }
.contact__phone {
    display: block;
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0.75rem 0;
    transition: var(--transition);
}
.contact__phone:hover { color: var(--gold-light); }

/* ── Footer ───────────────────────────────── */
.footer {
    background: var(--navy);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(184,134,11,0.15);
}
.footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
}
.footer__logo {
    width: 28px;
    height: 28px;
    color: var(--gold);
}
.footer__address {
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: rgba(245,243,239,0.45);
    letter-spacing: 0.02em;
}
.footer__copy {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: rgba(245,243,239,0.3);
}

/* ── Scroll Reveal (progressive enhancement) ─
   Content is visible by default; JS adds the
   animated class for motion. Reduced-motion
   users see nothing extra.
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr 0.9fr; gap: 2.5rem; }
    .hero__image { height: 55vh; }
    .story__inner { gap: 3rem; }
    .brews__grid { gap: 1.25rem; }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(184,134,11,0.15);
    }
    .nav__links.open { transform: translateY(0); }
    .nav__toggle { display: flex; }

    .hero { padding: 100px 1.5rem 4rem; }
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__image { height: 45vh; order: -1; }
    .hero__image-accent { display: none; }
    .hero__scroll { display: none; }

    .story { padding: 5rem 1.5rem; }
    .story__inner { grid-template-columns: 1fr; gap: 3rem; }
    .story__content { max-width: 100%; }
    .story__image { padding-top: 0; }

    .brews { padding: 5rem 1.5rem; }
    .brews__grid { grid-template-columns: 1fr; }

    .visit { padding: 5rem 1.5rem; }
    .visit__inner { grid-template-columns: 1fr; gap: 3rem; }
    .visit__image { height: 400px; }

    .contact { padding: 5rem 1.5rem; }
    .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
    .contact__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding: 90px 1.25rem 3rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { justify-content: center; }
    .brew-card { padding: 1.75rem; }
    .contact__card { padding: 1.5rem; }
}
