/*
 * Reset and element defaults.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	overscroll-behavior: none;
	scroll-behavior: smooth;
}

html,
body {
	overflow-x: hidden;
}

body {
	position: relative;
	margin: 0;
	background-color: var(--jbw-bg);
	color: var(--jbw-fg);
	font-family: var(--jbw-font-body);
	font-size: var(--jbw-text-base);
	font-weight: 400;
	line-height: var(--jbw-leading);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	line-height: var(--jbw-leading-tight);
	text-wrap: balance;
}

h1 { font-family: var(--jbw-font-body);    font-size: var(--jbw-h1); font-weight: 700; text-transform: uppercase; }
h2 { font-family: var(--jbw-font-display); font-size: var(--jbw-h2); font-weight: 400; text-transform: uppercase; }
h3 { font-family: var(--jbw-font-display); font-size: var(--jbw-h3); font-weight: 400; text-transform: uppercase; }
h4 { font-family: var(--jbw-font-body);    font-size: var(--jbw-h4); font-weight: 700; }
h5 { font-family: var(--jbw-font-display); font-size: var(--jbw-h5); font-weight: 400; text-transform: uppercase; }
h6 { font-family: var(--jbw-font-display); font-size: var(--jbw-h6); font-weight: 400; text-transform: uppercase; }

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--jbw-accent);
	text-decoration: none;
	transition: color var(--jbw-dur-fast) var(--jbw-ease);
}

a:hover {
	color: var(--jbw-paper);
}

/*
 * The Elementor kit shipped `*:focus { outline: none !important }`.
 * Not ported — this restores a visible, keyboard-only focus ring.
 */
:focus-visible {
	outline: 2px solid var(--jbw-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

img,
picture,
video,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

hr {
	border: 0;
	border-top: 1px solid var(--jbw-white-25);
	margin: 2rem 0;
}

::placeholder {
	text-transform: uppercase;
	opacity: 1;
}

::selection {
	background: var(--jbw-gold);
	color: var(--jbw-ink);
}

/*
 * Visually hidden. `left: -9999px` is deliberate: an absolutely
 * positioned element with no positioned ancestor otherwise sits at its
 * static position, which inside a wide scroll container can extend the
 * document and cause sideways scrolling.
 */
.screen-reader-text {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	clip-path: none;
	background: var(--jbw-gold);
	color: var(--jbw-ink);
	border-radius: var(--jbw-radius);
	font-weight: 700;
}
