/* ============================================================
   SARABALAWSON × AFROMORPHISM — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* === TOKENS === */
:root {
  --red:       #b82c19;
  --gold:      #d6a050;
  --black:     #101010;
  --offwhite:  #fef6e5;
  --grey:      #4a4540;
  --light-grey:#e8e0d0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--offwhite);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.glossary-link {
  color: var(--red);
  cursor: pointer;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-decoration: underline;
  text-decoration-color: rgba(184,44,25,0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.glossary-link:hover {
  color: var(--black);
  text-decoration-color: var(--gold);
}

/* === GOLD RULE SYSTEM === */
.gold-rule {
  border: none;
  border-top: 1.5px solid var(--gold);
  opacity: 0.6;
  margin: 0;
}
.gold-rule--thick {
  border-top-width: 3px;
  opacity: 1;
}

/* === NAVIGATION === */
.nav {
  background: var(--black);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav__brand-logo {
  height: 44px;
  width: auto;
  display: block;
  /* Logo is black-background; keep it crisp */
  border-radius: 2px;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__brand-primary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--offwhite);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav__brand-secondary {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-grey);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--offwhite);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Hamburger — mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--offwhite);
  transition: transform 0.2s, opacity 0.2s;
}

/* === MAIN === */
main { flex: 1; }

/* === PAGE HERO === */
.page-hero {
  background: var(--black);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1.1;
}

.page-hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold);
  margin-top: 0.75rem;
  opacity: 0.9;
}

/* === CONTAINER === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* === SECTIONS === */
.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

/* === CONTACT FORM === */
.contact-band {
  background: var(--black);
  padding: 4rem 2rem;
}

.contact-band__inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-band__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-band__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 0.5rem;
}

.contact-band__sub {
  font-size: 0.9rem;
  color: var(--light-grey);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #1e1a17;
  border: 1px solid #3a342e;
  border-radius: 2px;
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field select option {
  background: #1e1a17;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border-radius: 1px;
  align-self: flex-start;
}

.btn:hover {
  background: #9a2314;
  transform: translateY(-1px);
}

.form-status {
  font-size: 0.85rem;
  padding: 0.6rem 0;
  display: none;
}
.form-status.success { color: var(--gold); display: block; }
.form-status.error   { color: #e07060;   display: block; }

/* === FOOTER === */
.footer {
  background: #0a0a0a;
  border-top: 1.5px solid #222;
  padding: 1.75rem 2rem;
  text-align: center;
}

.footer__text {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.08em;
}

.footer__text span {
  color: var(--gold);
  opacity: 0.7;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--black);
    padding: 1rem 0;
    border-top: 1px solid #222;
  }

  .nav__links.open { display: flex; }

  .nav__links li { width: 100%; }

  .nav__links a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
  }

  .nav__links a::after { display: none; }

  .nav__toggle { display: flex; }

  .nav { position: relative; }

  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 3.5rem 1.5rem 3rem; }
}
