/* ============================================================
   RATERIA INTERNATIONAL — Shared Typography & Spacing System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --teal:       #1B5E6E;
  --teal-dark:  #0D3D4A;
  --gold:       #B8962E;
  --gold-light: #D4AF5A;
  --cream:      #F7F3ED;
  --cream-dark: #EDE7DC;
  --white:      #fff;
  --mid:        #555;

  /* Typography scale */
  --font-body:    'Jost', sans-serif;
  --font-display: 'Cormorant Garamond', serif;

  --text-xs:   11px;   /* breadcrumbs, labels, tags */
  --text-sm:   13px;   /* captions, small meta */
  --text-base: 15px;   /* body paragraphs */
  --text-md:   17px;   /* lead / intro text */

  /* Spacing */
  --leading-tight:  1.1;
  --leading-normal: 1.8;
  --leading-loose:  1.9;

  /* Letter spacing */
  --tracking-wide:  2px;
  --tracking-wider: 3px;
  --tracking-label: 4px;   /* section labels */
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Body ── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: #1A1A1A;
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Paragraph / Body copy ── */
p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--mid);
}

/* ── Header / Nav ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 60px;
  background: rgba(247,243,237,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.08);
}

.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  color: var(--teal-dark);
  text-transform: uppercase;
}

nav {
  display: flex; gap: 36px; align-items: center;
}

nav a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-size: var(--text-xs) !important;
}

/* ── Page Hero ── */
.page-hero {
  padding-top: 100px;
  background: var(--teal-dark);
  padding-bottom: 80px;
  text-align: center;
}

.breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold-light); text-decoration: none; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  color: var(--white);
  line-height: var(--leading-tight);
}

.page-title em { font-style: italic; color: var(--gold-light); }

.page-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-normal);
}

/* ── Section Labels & Titles ── */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--teal-dark);
  margin-bottom: 20px;
  line-height: var(--leading-tight);
}

.section-title em { font-style: italic; color: var(--gold); }

.section-title-white { color: var(--white); }

.section-sub {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: var(--leading-normal);
  max-width: 600px;
  margin-bottom: 50px;
}

/* ── Buttons ── */
.btn, .btn-primary, .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-gold, .btn-primary { background: var(--gold); color: var(--white); }
.btn-gold:hover, .btn-primary:hover { background: var(--teal-dark); color: var(--white); }

.btn-white { background: var(--white); color: var(--gold); }
.btn-white:hover { background: var(--teal-dark); color: var(--white); }

/* ── Form elements ── */
.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #1A1A1A;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
  line-height: var(--leading-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

/* ── Footer ── */
footer {
  background: #1A1A1A;
  padding: 40px 60px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a { color: var(--gold); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  header { padding: 14px 30px; }
  nav { display: none; }
  footer { padding: 30px 24px; flex-direction: column; gap: 12px; text-align: center; }
}
