/*
 * Base reset + design tokens (Phase 2). No homepage section markup is
 * styled here — these are the foundation tokens, reset and base
 * typography that every later component/section will be built on top of.
 *
 * Breakpoints used throughout this theme's CSS (no native custom-media
 * support without a build step, so these are documented here and
 * hardcoded consistently in each file's @media rules):
 *   mobile  <600px
 *   tablet  600px–959px
 *   desktop >=960px
 */

:root {
	/* Brand colors */
	--color-black: #000000;
	--color-gold: #ffd938;
	--color-grey-light: #efefef;
	--color-white: #ffffff;

	/* Typography */
	--font-heading: 'Faculty Glyphic', Georgia, serif;
	--font-body: 'Hind', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Fluid type scale (clamp: mobile size, fluid preferred, desktop size) */
	--text-xs: 0.8125rem; /* 13px, doesn't need to scale */
	--text-sm: 0.9375rem; /* 15px */
	--text-base: 1rem; /* 16px */
	--text-md: 1.125rem; /* 18px */
	--text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); /* 20–24px */
	--text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); /* 24–32px */
	--text-2xl: clamp(2rem, 1.5rem + 2vw, 2.75rem); /* 32–44px */
	--text-3xl: clamp(2.5rem, 1.7rem + 3.2vw, 4.25rem); /* 40–68px, hero/display use */

	/* Spacing scale */
	--space-3xs: 0.25rem; /* 4px */
	--space-2xs: 0.5rem; /* 8px */
	--space-xs: 0.75rem; /* 12px */
	--space-sm: 1rem; /* 16px */
	--space-md: 1.5rem; /* 24px */
	--space-lg: 2rem; /* 32px */
	--space-xl: 3rem; /* 48px */
	--space-2xl: 4rem; /* 64px */
	--space-3xl: 6rem; /* 96px */
	--space-4xl: 7.5rem; /* 120px */
	--space-section: clamp(var(--space-2xl), 6vw, var(--space-3xl));

	/* Shape */
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	/* Layout */
	--container-max: 1400px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--color-white);
	color: var(--color-black);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--text-base);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.2;
}

h1 {
	font-size: var(--text-2xl);
}

h2 {
	font-size: var(--text-xl);
}

h3 {
	font-size: var(--text-lg);
}

h4 {
	font-size: var(--text-md);
}

h5 {
	font-size: var(--text-base);
}

h6 {
	font-size: var(--text-sm);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
}

/*
 * Oversized display/wordmark treatment — e.g. the "FRAMED AND FAMOUS"
 * hero heading and logo lockup — which uses the bold sans (Hind) rather
 * than the serif heading font, per the design reference. A utility
 * rather than a section style, since it's reused in header + hero + footer.
 */
.heading-display {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--text-3xl);
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	overflow-wrap: break-word;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
