:root {
  --bg-page: #FBF9F4;
  --bg-card: #F3ECE0;
  --text-primary: #2B2520;
  --text-secondary: #5A4A3A;
  --accent-gold: #C5A880;
  --accent-gold-light: #D9C9A8;
  --border-light: #E5D9C5;
  --overlay-dark: rgba(43, 37, 32, 0.6);

  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Lato', Helvetica, Arial, sans-serif;

  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.5rem;
  --font-size-base: 1.125rem;
  --font-size-small: 0.875rem;
  --font-size-caption: 0.75rem;

  --line-height-heading: 1.2;
  --line-height-h2: 1.244;
  --line-height-h3: 1.333;
  --line-height-body: 1.6;
  --line-height-small: 1.4;
  --line-height-caption: 1.2;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  --border-radius: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-block: 0 var(--space-4);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-block-start: 0;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-heading);
  margin-block-end: var(--space-3);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  margin-block-end: var(--space-3);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  margin-block-end: var(--space-3);
}

h4 {
  font-size: 1.25rem;
  margin-block-end: var(--space-3);
}

h5 {
  font-size: 1rem;
  margin-block-end: var(--space-3);
}

h6 {
  font-size: 0.875rem;
  margin-block-end: var(--space-3);
}

ul, ol {
  list-style: none !important;
  padding-inline-start: 0;
  margin-block: 0 var(--space-4);
}

li {
  margin-block: 0;
}

blockquote {
  margin: 0 0 var(--space-4);
  padding-inline-start: var(--space-4);
  border-inline-start: 3px solid var(--accent-gold);
  font-family: var(--heading-font);
  font-style: italic;
  color: var(--text-secondary);
}

hr {
  border: 0;
  border-top: 1px solid var(--accent-gold);
  margin-block: var(--space-5);
}

figure {
  margin: 0;
}

figcaption {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--text-secondary);
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  border: 1px solid var(--accent-gold);
  border-radius: var(--border-radius);
  background-color: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin: 0;
}

.btn:hover {
  background-color: var(--accent-gold);
  color: #fff;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-radius: var(--border-radius);
  padding: var(--space-4);
}

.card--hover {
  transition: transform 0.3s, border-color 0.3s;
}

.card--hover:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold-light);
}

.tag {
  display: inline-block;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--accent-gold);
}

.divider {
  border: 0;
  border-top: 1px solid var(--accent-gold);
  margin-block: var(--space-5);
}

.text-small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.text-caption {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--overlay-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: var(--bg-page);
  border: 1px solid var(--accent-gold);
  border-radius: var(--border-radius);
  padding: var(--space-5);
  max-width: 600px;
  width: 90%;
}

.img-frame {
  clip-path: ellipse(80% 100% at 50% 0%);
  border: 1px solid var(--accent-gold);
  filter: sepia(0.3);
}

.last-child-reset > *:last-child {
  margin-block-end: 0;
}

.nav-toggle {
  flex-direction: column;
}

@media (max-width: 48rem) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
}