/* ============================================================
   SARIVALE — Base Stylesheet
   Heritage precision manufacturing. Editorial, generous, calm.
   ============================================================ */

:root {
  /* Brand colours */
  --green:        #22492d;
  --green-dark:   #1a3722;
  --green-deep:   #0f2214;
  --cream:        #f0e4d0;
  --cream-soft:   #f6eeda;
  --cream-warm:   #ebdfc4;
  --gold:         #b8963e;
  --gold-light:   #c9a94f;
  --gold-dark:    #9a7c2f;
  --text:         #1a1a18;
  --text-soft:    #4a4a44;
  --white:        #ffffff;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Source Sans 3', Arial, sans-serif;

  /* Layout */
  --max-width:    1360px;
  --max-narrow:   1180px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --edge:         clamp(1.5rem, 6vw, 5.5rem);
  --section-gap:  clamp(4.5rem, 10vw, 9rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--green);
  letter-spacing: -0.005em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-fade] { opacity: 1 !important; transform: none !important; }
}
