/**
 * Rhodes Boat — base reset & document defaults.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--rb-font-body);
	font-size: var(--rb-text-base);
	line-height: var(--rb-leading-normal);
	color: var(--rb-text);
	background-color: var(--rb-surface-muted);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
	border: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: pretty;
}

ul[class],
ol[class] {
	list-style: none;
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--rb-focus);
	outline-offset: 3px;
}

::selection {
	background: rgba(214, 175, 69, 0.35);
	color: var(--rb-text);
}

a {
	color: var(--rb-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
	transition: color var(--rb-duration-fast) var(--rb-ease);
}

a:hover,
a:focus-visible {
	color: var(--rb-gold-light);
}

.rb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: var(--rb-z-toast);
	padding: var(--rb-space-2) var(--rb-space-3);
	background: var(--rb-gold);
	color: var(--rb-navy);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--rb-radius-sm);
}

.rb-skip-link:focus {
	left: var(--rb-space-3);
	top: var(--rb-space-3);
}

.rb-site-main {
	min-height: 50vh;
}
