/* ===========================
   Slow Gherkin — main.css
   JS-driven starfield (via --star-tile), apple tree overlay, safe layering
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Buda:wght@300&family=Cossette+Texte:wght@400;700&family=Gideon+Roman&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Racing+Sans+One&display=swap');



/* Base */
:root{
	--bg: #060604;
	--text: #e0daca;
	--tile-size: 1200px;     /* star tile size the JS will use */
}

html, body { min-height: 100%; background-color: var(--bg); }

body{
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding-top:24px;
    padding-bottom: 80px;
}

/* Links 9b3a1d b6491e */
a, a:visited { color: #9b3a1d; }
a:hover, a:focus {
    color: #daa30f;
    text-decoration: underline;
}
a:active { color: #ffba00; }

.current-menu-item > a {
    color: #ffba00;
}

.site-title > a {
    text-decoration: none;
    color: #9b491d;
}

.site-navigation-dropdown ul.menu {
    background-color:transparent;
}

.site-navigation-dropdown ul.menu li a {
    color: #9b3a1d;
    font-weight:500;
    background-color: rgba(17, 15, 12, 0.98);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .625);
}
.site-navigation-dropdown ul.menu li.current-menu-item a {
    color: #ffba00;
}

.site-navigation-dropdown ul.menu li a:focus, .site-navigation-dropdown ul.menu li a:hover {
    color: #daa30f;
    text-decoration: underline;
}

body.sky{
	background: none !important;
	background-color: var(--bg) !important;
	position: relative; /* host ::before/::after */
}

.site, #page, .site-content, .elementor-location-body, .elementor{
	position: relative;
	z-index: 0;
}

body.sky::before{
	content:"";
	position: fixed; inset: 0;
	z-index: 0;
	pointer-events: none;
	/* one or two URLs provided by JS; repeat/size applies to each layer */
	background: linear-gradient(90deg, #15150d 12px, transparent 0) left top / 24px 12px repeat-x,
        /* row 2: offset pattern at y = 12px */
    linear-gradient(90deg, transparent 12px, #15150d 0) left 12px / 24px 12px repeat-x,

    linear-gradient(90deg, #15150d 12px, transparent 0) left bottom / 24px 12px repeat-x,
        /* row 2: offset pattern at y = 12px */
    linear-gradient(90deg, transparent 12px, #15150d 0) left bottom 12px / 24px 12px repeat-x,

    url('../img/apple-tree-sketch-solid-dk-apple2.png')
    no-repeat top right / clamp(260px, 24vw, 300px) auto,

    url('../img/fangbat-introspect-sketch-grey-filled-wide.png')
    no-repeat bottom left / clamp(180px, 10%, 320px) auto,

    var(--star-tile) repeat 0 0 / var(--tile-size) var(--tile-size),

    linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(12, 30, 50, 1) 67%, rgba(33, 29, 38, 1) 100%);
	box-shadow: inset 0 0 200px rgba(0,0,0,.35); /* subtle vignette */
}

.site-title,
.site-title a,
.elementor-location-header .elementor-heading-title,
.elementor-location-header .site-title a {
    font-family: 'Racing Sans One', 'Cossette Texte', system-ui, -apple-system, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.1;
    text-transform: uppercase;
}

header#site-header {
    margin-bottom: 15px;
}

.site-header, .site-content,
.elementor-location-header,
header {
    position: relative;
    z-index: 1;
}

.site-footer,
.elementor-location-footer {
    position: relative;
    z-index: 1;
}

.site-content {
    position: relative;
    z-index: 1;
}

.page-header .entry-title {
    display:none;
}

.page-content {
    padding-bottom: 5px;
}

.home-links figure.wp-caption {
    --b: 4px;
    position: relative;
    border: var(--b) solid #fff;
    overflow: hidden;
    margin: 0;
}

.home-links figure.wp-caption > a,
.home-links figure.wp-caption > a > img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.25s ;
}

.home-links figure.wp-caption > a:hover > img {
    transform: scale(1.05);
}

.home-links figure.wp-caption .widget-image-caption.wp-caption-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: .4rem .7rem;
    font-size: 1.2rem;
    color: #fff;
    transform: rotate(-4deg);
    transform-origin: center;
    pointer-events: none;
}

.home-links figure.wp-caption .widget-image-caption.wp-caption-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: -1;
}

.sg-figure-box .elementor-widget-image-box {
    border-width: 4px;
}


#menu-top .menu-item {
    background: rgba(0, 0, 0, 0.6);
}

.site-navigation-toggle-holder .site-navigation-toggle {
    border: 2px solid #9b3a1d;
    color: #9b3a1d;
    background-color: #15150d;
}

.site-navigation-toggle-holder .site-navigation-toggle:hover {
    border: 2px solid #daa30f;
    color: #daa30f;
}

.site-navigation-toggle-holder.elementor-active .site-navigation-toggle {
    border: 2px solid #daa30f;
    color: #daa30f;
}

footer#site-footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    padding: 2px 30px 30px 30px;
}

@media (max-width: 767px) {
    footer#site-footer {
        text-align: center;
    }

    footer#site-footer .footer-inner {
        justify-content: center;
    }
}

/* iOS/Safari: avoid fixed jank on small screens */
@media (max-width: 900px){
	body.sky::after,
	body.sky::before{
        position: absolute;
    }

    .site-title,
    .site-title a,
    .elementor-location-header .elementor-heading-title,
    .elementor-location-header .site-title a {
        text-shadow: 1px 1px 12px rgba(0,0,0,1);
    }
}


