/* ============================================================
   MAYUSIMO — Global Styles
   ============================================================ */

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

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

:root {
  --white:   #fafaf8;
  --ink:     #1a1a18;
  --sand:    #c4a882;
  --sand-lt: #d4bc9e;
  --muted:   #8a8a84;
  --rule:    rgba(26,26,24,0.08);
  --nav-h:   80px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5rem;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

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

.nav-links a.nav-portal {
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 1px;
}

.nav-links a.nav-portal:hover {
  color: var(--sand);
  border-color: var(--sand-lt);
}

/* ── PAGE WRAPPER ── */
.page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── FOOTER ── */
footer {
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  margin-top: auto;
}

footer span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.4rem; }

em { font-style: italic; color: var(--muted); }

p {
  font-size: 0.82rem;
  line-height: 2;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── SECTION UTILITY ── */
.section {
  padding: 7rem 5rem;
}

.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sand);
}

/* ── RULE ── */
.h-rule {
  width: 48px;
  height: 1px;
  background: var(--sand);
  margin: 2.5rem 0;
  opacity: 0.7;
}

/* ── CTA LINK ── */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: gap 0.3s;
}

.cta-link::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sand);
  transition: width 0.3s;
}

.cta-link:hover { gap: 1.4rem; }
.cta-link:hover::after { width: 50px; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #2d2d2a;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-outline:hover {
  border-color: var(--sand);
  color: var(--sand);
}

/* ── IMAGE BLOCK ── */
.img-block {
  background: linear-gradient(135deg, #ece8e1 0%, #d5cfc5 50%, #c5bdb0 100%);
  position: relative;
}

.img-block::before {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  bottom: 16px; left: 16px;
  border: 1px solid rgba(196,168,130,0.3);
  pointer-events: none;
  z-index: -1;
}

/* ── DIVIDER ── */
.page-divider {
  height: 1px;
  background: var(--rule);
  margin: 0 5rem;
}
