/* ==========================================================================
   COLOR PALETTE
   ========================================================================== */

/*
   #101d30   — deep night blue, main background
   #07951b   — garden green, accents/borders/buttons (often used with
               alpha suffixes like 18/22/30/33/44/55/66 for transparency)
   #ffe7c3   — pale cream, primary text color (also used with alpha
               suffixes like 44/88/aa for transparency)
   #eec482   — warm amber, secondary text / links / subtitles
   #ffa599   — soft coral pink, hover states / highlighted strong text
   #331f00   — dark brown, code block background
   #b3b300   — olive yellow, hover border accent on cards
   rgba(16, 29, 48, 0.92) — lightbox overlay (same as #101d30, just with opacity)
*/

/* ==========================================================================
   FONT DECLARATIONS
   ========================================================================== */

@font-face {
    font-family: 'Lilita One';
    src: url('fonts/LilitaOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bevellier';
    src: url('fonts/Bevellier-Semibold.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bevellier';
    src: url('fonts/Bevellier-Bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Bevellier';
    src: url('fonts/Bevellier-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'DM Mono';
    src: url('fonts/DMMono-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


/* ==========================================================================
   RESET / BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #101d30;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.green {
    color: #07951b;
}


/* ==========================================================================
   LIGHTBOX (Magnifying Glass/Zoom on photos)
   ========================================================================== */

.lg-lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(16, 29, 48, 0.92);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	cursor: zoom-out;
}

.lg-lightbox-overlay.active {
	display: flex;
}

.lg-lightbox-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 12px;
}

/* ==========================================================================
   WAVE TEXT ANIMATION
   ========================================================================== */

.wave-text span {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-text span:nth-child(1)  { animation-delay: 0.0s; }
.wave-text span:nth-child(2)  { animation-delay: 0.1s; }
.wave-text span:nth-child(3)  { animation-delay: 0.2s; }
.wave-text span:nth-child(4)  { animation-delay: 0.3s; }
.wave-text span:nth-child(5)  { animation-delay: 0.4s; }
.wave-text span:nth-child(6)  { animation-delay: 0.5s; }
.wave-text span:nth-child(7)  { animation-delay: 0.6s; }
.wave-text span:nth-child(8)  { animation-delay: 0.7s; }
.wave-text span:nth-child(9)  { animation-delay: 0.8s; }
.wave-text span:nth-child(10) { animation-delay: 0.9s; }
.wave-text span:nth-child(11) { animation-delay: 1.0s; }
.wave-text span:nth-child(12) { animation-delay: 1.1s; }
.wave-text span:nth-child(13) { animation-delay: 1.2s; }
.wave-text span:nth-child(14) { animation-delay: 1.3s; }

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}


/* ==========================================================================
   LINKS
   ========================================================================== */

.lg-card a,
.lg-cards a {
    color: #eec482;
    text-decoration: none;
}

.lg-card a:hover {
    color: #ffa599;
}

.lg-card-link {
    text-decoration: none;
    color: inherit;
}


/* ==========================================================================
   LAYOUT: ROOT
   ========================================================================== */

.lg-root {
    background: #101d30;
    min-height: 600px;
    padding: 0;
    color: #ffe7c3;
    font-family: 'Lilita One', sans-serif;
    text-align: center;
    justify-content: center;
	align-items: center;
}


/* ==========================================================================
   LAYOUT: NAV
   ========================================================================== */

.lg-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	align-items: center;
    gap: 2.5rem;
    padding: 1rem 4rem;
    border-bottom: 2px solid #07951b44;
}

.lg-nav a {
    color: #eec482;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.lg-nav a:hover {
    color: #ffa599;
}


/* ==========================================================================
   LAYOUT: HERO
   ========================================================================== */

.lg-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.lg-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 2rem;
}

.lg-fox {
    width: 110px;
    height: 110px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: #07951b22;
    border: 2px solid #07951b66;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.lg-title {
    font-size: 3.0rem;
    font-weight: 900;
    font-family: 'Bevellier', sans-serif;
    color: #ffe7c3;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.lg-title-small {
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Bevellier', sans-serif;
    color: #ffe7c3;
    margin: 0 0 0.5rem;
    letter-spacing: 0.05em;
}

.lg-sub {
    font-size: 0.75rem;
    font-weight: 400;
	font-family: 'DM Mono', monospace;
    font-style: italic;
    color: #eec482;
    margin: 0 0 2rem;
}

.lg-sub-small {
    font-size: 0.75rem;
    font-weight: 400;
    font-family: 'DM Mono', monospace;
    font-style: italic;
    color: #eec482;
    margin: 0 0 1rem;
}

.lg-divider {
    width: 60px;
    height: 1px;
    margin: 0 auto 2.5rem;
    background: #07951b;
}

/* ==========================================================================
   LAYOUT: POSTS
   ========================================================================== */

.lg-post {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem;
	text-align: left;
}

.lg-post-header {
	text-align: center;
}

.lg-post-thumb {
	width: 100%;
	max-width: 400px;
	border-radius: 12px;
	display: block;
	margin: 0 auto 1.5rem;
}

.lg-post-content {
	font-weight: 400;
	font-family: 'DM Mono', monospace;
	line-height: 1.5;
	margin-top: 2rem;
}

.lg-post-content hr {
	border: none;
	height: 1px;
	background: #07951b;
	width: 60px;
	margin: 2rem auto;
}

.lg-post-content img {
	cursor: zoom-in;
}

.lg-post-content p {
	margin-bottom: 1.25rem;
}

.lg-post-content blockquote {
	border-left: 3px solid #ffe7c3aa;
	padding-left: 1.25rem;
	margin: 1.5rem 0;
	font-style: italic;
	background: none;
	border-radius: 0;
}

.lg-post-content img {
	display: block;
	max-width: 100%;
	width: 400px;
	margin: 1.5rem auto;
	border-radius: 12px;
	background: #331f00;
	padding: 0.5rem;
}

.lg-img-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 1.5rem 0;
}

.lg-img-grid img {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 300px;
	flex: 0 1 auto;
	margin: 0;
	object-fit: contain;
}

.lg-post-content strong {
	color: #ffa599;
}

.lg-post-content a {
	color: #ffa599;
}

.lg-post-content a:hover {
	color: #07951b;
}

.lg-post-desc {
	font-size: 0.95rem;
	color: #ffe7c3aa;
	font-style: italic;
	margin: 0.25rem 0 1.5rem;
}

.lg-post-content pre {
	background: #331f00;
	color: #ffe7c3;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
	overflow-x: auto;
	font-family: 'DM Mono', monospace;
	font-size: 0.85rem;
	line-height: 1.6;

	/* break out of the narrow post column */
	width: 90vw;
	max-width: 1100px;
	margin-left: 50%;
	transform: translateX(-50%);
}

.lg-post-content code {
	font-family: 'DM Mono', monospace;
}

.lg-post-content p code {
	background: #ffe7c344;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.9em;
}

.lg-copy-btn {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	background: #07951b33;
	color: #07951b;
	border: 1px solid #07951b66;
	border-radius: 6px;
	padding: 0.25rem 0.6rem;
	font-size: 0.75rem;
	font-family: 'DM Mono', monospace;
	cursor: pointer;
}

.lg-copy-btn:hover {
	background: #07951b55;
}

/* ==========================================================================
   LAYOUT: CARDS
   ========================================================================== */

.lg-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 2rem 2rem;
    box-sizing: border-box;
}

.lg-card-compact {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    border: 2px solid #07951b55;
    background: #07951b33;
    color: #07951b;
    font-size: 1rem;
    font-family: 'DM Mono', monospace;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.lg-card-corner {
    display: inline-block;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    border: 2px solid #07951b55;
    background: #07951b33;
    color: #07951b;
    font-size: 1rem;
    font-family: 'DM Mono', monospace;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}
.lg-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    border: 2px solid #07951b44;
    background: #07951b18;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
	text-decoration: none;
}

.lg-card:hover {
    background: #07951b30;
    border-color: #b3b300;
}

.lg-card-corner:hover {
    background: #07951b30;
    border-color: #b3b300;
}

.lg-card-compact:hover {
    background: #07951b30;
    border-color: #b3b300;
}

.lg-card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.lg-card-title {
    font-size: 1rem;
    font-weight: 300;
    color: #eec482;
    margin: 0 0 0.25rem;
}

.lg-card-desc {
    font-size: 0.75rem;
    font-weight: 300;
    font-family: 'DM Mono', monospace;
    color: #ffe7c388;
    margin: 0;
}

.lg-card-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-align: left;
}

.lg-card-thumb {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.lg-card-text {
	display: flex;
	flex-direction: column;
}


/* ==========================================================================
   LAYOUT: FOOTER
   ========================================================================== */

.lg-footer {
    padding: 1.5rem;
    border-top: 1px solid #07951b33;
    font-size: 0.75rem;
    font-family: 'DM Mono', monospace;
    color: #ffe7c344;
}