/*
Theme Name: H&G Wedding
Theme URI: https://example.com/
Author: H&G
Description: Custom wedding theme with an unlisted RSVP page and a livestream-inclusive home page. Visual language (palette, typography, motion) approximates veleyross.wedding using CSS/JS only.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hg-wedding
*/

/* ---------- Reset ---------- */
html, body, div, header, footer, nav, main, section, article,
h1, h2, h3, h4, p, ul, li, a, form, input, textarea, button, label, span, img, svg {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	box-sizing: border-box;
}

ul, li {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

img, svg {
	display: block;
	max-width: 100%;
}

button, input, textarea {
	background: none;
	color: inherit;
	outline: none;
}

button {
	cursor: pointer;
}

/* ---------- Design tokens ---------- */
:root {
	--hg-bg: #f3f2f1;
	--hg-bg-alt: #fdfdfb;
	--hg-green: #284135;
	--hg-muted: #999790;
	--hg-line: #c3c2c0;
	--hg-white: #ffffff;
	--hg-black: #14140f;

	--hg-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--hg-font-sans: "Montserrat", Helvetica, Arial, sans-serif;

	--hg-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--hg-ease-underline: cubic-bezier(0.23, 1, 0.32, 1);
	--hg-dur-reveal: 900ms;
	--hg-dur-underline: 1000ms;
	--hg-dur-loader: 1000ms;
	--hg-stagger: 90ms;

	--hg-gutter: 6vw;
}

html {
	font-size: 16px;
	cursor: default;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
}

body {
	background: var(--hg-bg);
	color: var(--hg-green);
	font-family: var(--hg-font-sans);
	font-weight: 300;
	overflow-x: hidden;
}

::selection {
	background: rgba(40, 65, 53, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
