/* ═══════════════════════════════════════════════════════════════════
   MAKENA BUILDING GROUP — Base Styles
   ═══════════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

img.protected,
.lightbox-content img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

button {
  cursor: auto;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol { list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--ink);
  padding: .6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 9999;
  transition: top .2s;
}

.skip-link:focus {
  top: 1rem;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ─── Typography Base ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(3.8rem, 6vw, 7rem); }
h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-family: var(--font-main);
  font-size: .95rem;
  color: var(--text);
  line-height: 1.8;
}

.lead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.65;
  font-style: italic;
}

/* ─── Inner container ─── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

/* ─── Section base ─── */
.sec {
  position: relative;
  padding: 9rem 0;
}

.sec-tag {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.sec-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.sec-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -0.02em;
  color: var(--white);
}

.sec-h2 em { font-style: italic; color: var(--gold); }
.sec-h2 .dim {
  -webkit-text-stroke: 1px rgba(245,240,232,.2);
  color: transparent;
}

.sec-body {
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  max-width: 520px;
}
/* ─── Focus Rings (Accessibility) ─── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}
