/* ============================================================
   GLOBAL — global.css
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  margin: 0;
}

h1 { font-size: clamp(var(--text-3xl), 6vw,  var(--text-6xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw,  var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  3vw,  var(--text-3xl)); }
h4 { font-size: clamp(var(--text-lg),  2vw,  var(--text-2xl)); }
h5 { font-size: var(--text-lg); }
h6 {
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-ink-3);
}

p {
  max-width: none;
  color: var(--color-ink-2);
  line-height: var(--leading-loose);
  margin: 0;
}

p + p { margin-top: var(--space-4); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover { color: var(--color-accent); }

:focus-visible {
  outline: 1px solid var(--color-accent);
  outline-offset: 3px;
}

/* Label / eyebrow */
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-ink-3);
}

.label--accent { color: var(--color-accent); }

/* Divider */
.divider {
  border: none;
  border-top: var(--border-thin);
  margin: var(--space-16) 0;
}

/* Accent line */
.accent-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: var(--space-5);
}

/* Image placeholder */
.img-placeholder {
  background: var(--color-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-4);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-6);
  border: var(--border-thin);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  z-index: var(--z-modal);
}
.skip-link:focus { top: var(--space-4); }

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out);
}

.cursor-ring {
  position: fixed;
  width: 30px; height: 30px;
  border: 1px solid rgba(184,92,56,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor.is-hovering      { width: 10px; height: 10px; }
.cursor-ring.is-hovering { width: 44px; height: 44px; border-color: var(--color-accent); }

@media (hover: none) { .cursor, .cursor-ring { display: none; } }
