/* ============================================
   Yooper Confusion Works - Main Stylesheet
   WCAG 2.2 AA Compliant | Mobile-First | Minimal
   ============================================ */

/* CSS Variables - Woodland/Lake Theme */
:root {
    /* Light Theme - Woodland/Lake Colors */
    --color-primary: #1E4620;        /* Darker Forest Green (AA compliant: 7.8:1) */
    --color-secondary: #1B4965;      /* Lake Blue */
    --color-accent: #D97706;         /* Autumn Orange */
    --color-text: #1F2937;           /* Dark Gray */
    --color-text-light: #4B5563;     /* Medium Gray */
    --color-bg: #F9FAFB;             /* Off-white */
    --color-bg-alt: #FFFFFF;         /* Pure White */
    --color-border: #D1D5DB;         /* Light Gray */
    --color-success: #047857;        /* Darker Green (AA compliant: 4.6:1) */
    --color-warning: #D97706;        /* Orange */
    --color-error: #DC2626;          /* Red */
	--menu-bg-image: url(/Pimgs/GemDrummond/lightstone.jpg); /* Light pudding Stone menu */
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Typography */
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-size-base: 18px;          /* Larger for sportsman demographic */
    --font-size-sm: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 40px;
    --line-height: 1.6;
    
    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;
    --transition: 0.3s ease;
	--body-bg-image: url(/Pimgs/GemDrummond/grasstexture.jpg); /* grasstex */
}

/* Dark Theme */
[data-theme="dark"] {
    --color-primary: #4ADE80;        /* Bright Green */
    --color-secondary: #60A5FA;      /* Sky Blue */
    --color-accent: #FB923C;         /* Bright Orange */
    --color-text: #F9FAFB;           /* Light Gray */
    --color-text-light: #D1D5DB;     /* Medium Light Gray */
    --color-bg: #111827;             /* Dark Gray */
    --color-bg-alt: #1F2937;         /* Slightly Lighter Dark */
    --color-border: #374151;         /* Medium Dark Gray */
	--menu-bg-image: url(/Pimgs/GemDrummond/darkstone.jpg); /* Dark pudding Stone menu */
}

/* ============================================
   Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-bg);
	background-image: var(--body-bg-image);
	background-repeat: repeat;
	
    transition: background-color var(--transition), color var(--transition);
}

/* Skip Link for Accessibility - FIXED CONTRAST */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1E4620;             /* Darker green: 7.8:1 contrast ratio */
    color: white;
    padding: var(--space-sm);
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===> TRANSPARENT TEXTURE THINGS <==== */
.webbing {
  background-color: var(--color-bg-alt);           /* your color here */
  background-image: url('/Pimgs/GemDrummond/lawnchair-weave.png');
  background-repeat: repeat;
  background-size: 32px 32px;        /* adjust scale */
  box-shadow: 0 0 0.25rem 2rem rgba(0,0,0,0.45);
  border-left: 0.25rem solid #2A2A2A;
  border-right: 0.25rem solid #2A2A2A;
  border-bottom: 0.15rem solid #2A2A2A;
  border-radius: 0 0 0.50rem 0.50rem;
  z-index: -1;
  top: -0.30rem;
}
.webbing:after {clip-path: inset(0 -2rem 0 -2rem);}

/* ─────────────────────────────────────────
   Image Frame — apply to any element, any size
   Works directly on <img> tags
───────────────────────────────────────── */
/* ── Base ── */
.frame {
  display: inline-block;
  line-height: 0;
  box-sizing: content-box;
  position: relative;
  margin: 16px;           /* room so outline + drop shadow aren't clipped */
}

.frame img {
  display: block;
  position: relative;
  z-index: 1;             /* image sits above pseudo-element overlays */
}

/* ─────────────────────────────────────────
   HOW THE LAYERS WORK (outer → inner):
   1. outline          → hard dark outer frame edge
   2. ::before border  → outer bevel face (bright TL, dark BR)
   3. ::after border   → secondary bevel step, adds depth
   4. background       → wood color + grain
   5. inset box-shadow → inner bevel/rabbet shadow
   6. inset 0 0 0 Xpx  → hard dark inner edge at image
───────────────────────────────────────── */

.frame-oak {
  padding: 40px;

  background:
    repeating-linear-gradient(93deg,
      transparent 4px, rgba(0,0,0,.09) 5px),
    repeating-linear-gradient(87deg,
      transparent 9px, rgba(0,0,0,.06) 10px),
    linear-gradient(160deg,
      #d4902e 0%, #b07020 20%,
      #8a5418 42%, #5c3410 52%,
      #8a5418 62%, #b07020 80%, #d4902e 100%);

  /* hard outer dark edge — outline is never clipped by parent overflow */
  

  box-shadow:
    /* drop shadow */
    0 12px 32px rgba(0,0,0,.65),
    0 4px 10px rgba(0,0,0,.45),
    /* hard inner edge where frame meets image */
    inset 0 0 0 3px rgba(12,4,0,.95),
    /* inner bevel shadow top-left */
    inset 14px 14px 28px rgba(0,0,0,.55),
    /* inner bevel highlight bottom-right */
    inset -10px -10px 20px rgba(185,115,20,.22);
}

/* Outer bevel face: bright top & left, dark bottom & right */
.frame-oak::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top:    8px solid rgba(255,215,105,.72);
  border-left:   8px solid rgba(255,200,80,.62);
  border-bottom: 8px solid rgba(0,0,0,.58);
  border-right:  8px solid rgba(0,0,0,.52);
  box-sizing: border-box;
  pointer-events: none;
}

/* Secondary bevel step — just inside first, adds depth/roundness */
.frame-oak::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-top:    5px solid rgba(230,175,65,.42);
  border-left:   5px solid rgba(230,165,50,.34);
  border-bottom: 5px solid rgba(0,0,0,.36);
  border-right:  5px solid rgba(0,0,0,.30);
  box-sizing: border-box;
  pointer-events: none;
}

/* ── Walnut ── */
.frame-walnut {
  padding: 36px;
  background:
    repeating-linear-gradient(94deg,
      transparent 5px, rgba(0,0,0,.10) 6px),
    repeating-linear-gradient(86deg,
      transparent 11px, rgba(255,255,255,.04) 12px),
    linear-gradient(160deg,
      #5a3520 0%, #3e2210 25%,
      #2a1508 48%, #1a0d04 52%,
      #2a1508 58%, #3e2210 78%, #5a3520 100%);
  box-shadow:
    0 12px 32px rgba(0,0,0,.72),
    0 4px 10px rgba(0,0,0,.5),
    inset 0 0 0 3px rgba(8,2,0,.98),
    inset 14px 14px 28px rgba(0,0,0,.65),
    inset -10px -10px 20px rgba(130,75,25,.18);
}
.frame-walnut::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top:    8px solid rgba(160,90,40,.68);
  border-left:   8px solid rgba(150,82,35,.58);
  border-bottom: 8px solid rgba(0,0,0,.7);
  border-right:  8px solid rgba(0,0,0,.65);
  box-sizing: border-box;
  pointer-events: none;
}
.frame-walnut::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-top:    5px solid rgba(130,75,30,.38);
  border-left:   5px solid rgba(125,70,28,.30);
  border-bottom: 5px solid rgba(0,0,0,.45);
  border-right:  5px solid rgba(0,0,0,.40);
  box-sizing: border-box;
  pointer-events: none;
}

/* ── Pine (wide) ── */
.frame-pine {
  padding: 52px;
  background:
    repeating-linear-gradient(91deg,
      transparent 6px, rgba(0,0,0,.07) 7px),
    repeating-linear-gradient(89deg,
      transparent 14px, rgba(255,210,100,.06) 15px),
    linear-gradient(160deg,
      #f0c060 0%, #d4a040 18%,
      #a87020 40%, #7a5010 52%,
      #a87020 64%, #d4a040 82%, #f0c060 100%);
  box-shadow:
    0 14px 36px rgba(0,0,0,.58),
    0 4px 10px rgba(0,0,0,.38),
    inset 0 0 0 3px rgba(20,10,0,.9),
    inset 16px 16px 32px rgba(0,0,0,.5),
    inset -12px -12px 24px rgba(220,165,40,.25);
}
.frame-pine::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top:    10px solid rgba(255,230,120,.78);
  border-left:   10px solid rgba(255,220,100,.68);
  border-bottom: 10px solid rgba(0,0,0,.52);
  border-right:  10px solid rgba(0,0,0,.46);
  box-sizing: border-box;
  pointer-events: none;
}
.frame-pine::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-top:    6px solid rgba(240,195,70,.44);
  border-left:   6px solid rgba(240,185,60,.36);
  border-bottom: 6px solid rgba(0,0,0,.34);
  border-right:  6px solid rgba(0,0,0,.28);
  box-sizing: border-box;
  pointer-events: none;
}

/* ── Ebony ── */
.frame-ebony {
  padding: 32px;
  background:
    repeating-linear-gradient(92deg,
      transparent 3px, rgba(255,255,255,.04) 4px),
    linear-gradient(160deg,
      #303030 0%, #1e1e1e 22%,
      #0d0d0d 48%, #060606 52%,
      #0d0d0d 58%, #1e1e1e 78%, #303030 100%);
  box-shadow:
    0 12px 32px rgba(0,0,0,.85),
    0 4px 10px rgba(0,0,0,.65),
    inset 0 0 0 3px rgba(0,0,0,1),
    inset 14px 14px 28px rgba(0,0,0,.8),
    inset -10px -10px 20px rgba(90,90,90,.12);
}
.frame-ebony::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top:    8px solid rgba(100,100,100,.72);
  border-left:   8px solid rgba(90,90,90,.62);
  border-bottom: 8px solid rgba(0,0,0,.9);
  border-right:  8px solid rgba(0,0,0,.85);
  box-sizing: border-box;
  pointer-events: none;
}
.frame-ebony::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-top:    5px solid rgba(75,75,75,.40);
  border-left:   5px solid rgba(70,70,70,.32);
  border-bottom: 5px solid rgba(0,0,0,.55);
  border-right:  5px solid rgba(0,0,0,.50);
  box-sizing: border-box;
  pointer-events: none;
}

/* ── Width modifiers ── */
.frame-slim { padding: 16px; }
.frame-wide { padding: 60px; }

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.15em;
    color: var(--color-primary);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

.xl{ font-size: var(--font-size-xl); }

p {
    margin-bottom: 0.15em;
}

a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: color var(--transition);
}

a:hover, a:focus {
    color: var(--color-accent);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ============================================
   Layout
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);	
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================
   Combined Header & Navigation
   ============================================ */

.main-nav {
    background-color: var(--color-bg-alt);
	background-image: var(--menu-bg-image);
	background-repeat: repeat;
    padding-left: var(--space-md);
	padding-right: var(--space-md);
    position: sticky;    /* ← Already sticky! */
    top: 0;              /* ← Already set to stick at top! */
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: box-shadow 0.3s ease;
}

/* Mobile-First: Hamburger Toggle (ONLY ON MOBILE) */
.nav-toggle {
    display: block;
    background: #1E4620;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
    border-radius: var(--border-radius);
    margin-bottom: var(--space-sm);
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: white;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Logo Container - Hidden on mobile */
.nav-logo {
    display: none;
}

.nav-logo img {
    max-width: 180px;
    height: auto;
}

/* Navigation List Container - MOBILE */
.nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
}

.nav-list.active {
    display: flex;
}

.nav-list > ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

/* Navigation Items */
.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: background-color var(--transition);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    background-color: #1E4620;
    color: white;
    outline: none;
}

/* Dropdown Menu - MOBILE */
.dropdown-menu {
    display: none;
    position: static;
	min-width: 17rem;
    background: var(--color-bg);
    border-left: 3px solid #1E4620;
    padding-left: var(--space-md);
    margin-top: var(--space-xs);
    list-style: none;
}
.dropdown-menu > li {min-width: 16.5rem;}
* Strip browser default details/summary chrome */
.nav-details {
    position: relative;
}

.nav-details > summary {
    list-style: none;   /* Firefox */
    cursor: pointer;
}

.nav-details > summary::-webkit-details-marker {
    display: none;      /* Chrome/Safari */
}

/* Arrow rotates when open */
.nav-details[open] .dropdown-arrow {
    display: inline-block;
    transform: rotate(180deg);
}

/* Show dropdown when <details> is open */
.nav-details[open] > .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    text-decoration: none;
    transition: background-color var(--transition);
    border-radius: var(--border-radius);
}

.dropdown-link:hover,
.dropdown-link:focus {
    background-color: #1E4620;
    color: white;
}

/* Search & Theme Container - Mobile First */
.nav-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

/* Search Form */
.nav-search {
    display: flex;
    gap: var(--space-xs);
    width: 100%;
}

.search-input {
    flex: 1;
    padding: var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: #1E4620;
    box-shadow: 0 0 0 3px rgba(30, 70, 32, 0.1);
}

.search-btn {
    padding: var(--space-sm) var(--space-md);
    background: #1E4620;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition);
}

.search-btn:hover,
.search-btn:focus {
    background: #0F2310;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Theme Toggle */
.theme-toggle {
    background: #1E4620;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
    font-size: 24px;
    color: white;
    align-self: flex-start;
}

.theme-toggle:hover,
.theme-toggle:focus {
    transform: scale(1.1);
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.theme-icon {
    display: none;
}

[data-theme="light"] .light-icon,
[data-theme="dark"] .dark-icon {
    display: block;
}

/* ============================================
   Medium & Large Screens (768px+) - EXPANDED NAV
   ============================================ */

@media (min-width: 768px) {
    .main-nav {
            padding: 0.10rem;
    }
    
    /* HIDE hamburger on desktop */
    .nav-toggle {
        display: none;
    }
    
    /* SHOW logo on desktop */
    .nav-logo {
        display: block;
    }
    
    /* ALWAYS SHOW nav-list on desktop (no toggle needed) */
    .nav-list {
        display: flex !important;  /* Override mobile display:none */
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    /* Center the navigation menu */
    .nav-list > ul {
        flex-direction: row;
        justify-content: center;
        flex: 1;
        margin: 0;
        gap: var(--space-sm);
    }
    
    /* Dropdown positioning for desktop */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-bg-alt);
        border: 1px solid var(--color-border);
        border-left: 1px solid var(--color-border);
        border-radius: var(--border-radius);
        min-width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: var(--space-xs);
        margin-top: var(--space-xs);
    }
    
    /* Search & Theme on the right */
    .nav-actions {
        flex-direction: row;
        align-items: center;
        width: auto;
        gap: var(--space-md);
    }
    
    .nav-search {
        width: auto;
        min-width: 200px;
    }
    
    .theme-toggle {
        align-self: center;
    }
}

/* Large screens - wider search */
@media (min-width: 1024px) {
    .nav-search {
        min-width: 250px;
    }
    
    .nav-logo img {
        max-width: 220px;
    }
    
    .nav-list > ul {
        gap: var(--space-md);
    }
}

/* ============================================
   Main Content
   ============================================ */
main {
    min-height: 60vh;
    padding-left: var(--space-xl);
	padding-right: var(--space-xl);
}

/* ============================================
   Cards
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: var(--space-sm);
}

.card-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

/* ============================================
   Buttons - FIXED CONTRAST
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: #1E4620;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid #1E4620;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-size: var(--font-size-base);
}

.btn:hover,
.btn:focus {
    background: #0F2310;
    border-color: #0F2310;
    transform: translateY(-2px);
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: #1E4620;
    border-color: #1E4620;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #1E4620;
    color: white;
}

/* ============================================
   Forms
   ============================================ */

.form-group {
    margin-bottom: var(--space-md);
}

label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--color-text);
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-base);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: border-color var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1E4620;
    box-shadow: 0 0 0 3px rgba(30, 70, 32, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Tables (for shop/portfolio)
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

th, td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: #1E4620;
    color: white;
    font-weight: 600;
}

tr:hover {
    background: var(--color-bg);
}

/* ============================================
   Tabs (for shop navigation)
   ============================================ */

.tab-nav {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
}

.tab-btn {
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-light);
    transition: all var(--transition);
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn:focus {
    color: #1E4620;
    outline: 2px solid var(--color-accent);
}

.tab-btn.active {
    color: #1E4620;
    border-bottom-color: #1E4620;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--color-bg-alt);
    border-top: 2px solid var(--color-border);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-col h3, .footer-col h4, .footer-col p {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
	font-weight: 900;
}

.footer-links,
.social-links {
    list-style: none;
}

.footer-links li,
.social-links li {
    margin-bottom: var(--space-xs);
	color: var(--color-text);
	font-weight: 900;
}

.footer-links a,
.social-links a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
    color: color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: var(--font-size-sm);
	font-weight: 900;
}

.footer-tagline {
    font-style: italic;
    color: var(--color-text);
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.fluid-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
}


.hardbottomrelief {
  border-bottom: 0.5rem solid #2A2A2A;
  box-shadow: 0 0 0 2rem rgba(0,0,0,0.45);
  z-index: -1;  
}
.hardbottomrelief:after{clip-path: inset(0 0 -2rem 0);}
	
.hardtoprelief {
  background-image: var(--menu-bg-image);
  border-top: 0.5rem solid #2A2A2A;
  box-shadow: 0 0 0 1.25rem rgba(0,0,0,0.45);
  z-index: -1;  
}
.hardbottomrelief:after{clip-path: inset(-2rem 0 0 0);}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 767px) {
    :root {
        --font-size-base: 16px;
        --font-size-3xl: 28px;
        --font-size-2xl: 24px;
    }
    
   
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .main-nav,
    .site-footer,
    .theme-toggle,
    .nav-toggle,
    .nav-search {
        display: none;
    }
}
