/* ==========================================================================
   WOODORA — Base: design tokens, reset, typography, layout primitives
   ========================================================================== */

:root {
  /* Brand palette */
  --ivory: #F5F2EB;
  --beige: #DED5C8;
  --oak: #A47C55;
  --charcoal: #242321;
  --white: #FCFBF8;
  --taupe: #B9AA98;

  /* Semantic roles (mirror the reference's main / background relationship) */
  --main: var(--charcoal);
  --bg: var(--ivory);
  --accent: var(--oak);
  --line: rgba(36, 35, 33, 0.16);
  --line-light: rgba(245, 242, 235, 0.22);

  /* Layout */
  --gutter: 1.25rem;
  --header-h: 4.375rem;
  --container: 100%;
  --section-gap: 8.75rem;     /* vertical rhythm between sections */

  /* Type scale (1440 reference) */
  --fs-caption: 0.8125rem;   /* 13px body / caption size */
  --fs-h1: 6rem;             /* 96px */
  --fs-h2: 3rem;             /* 48px */
  --lh-caption: 1.45;

  /* Motion */
  --ease-custom: cubic-bezier(0.32, 0.73, 0.2, 1);
  --ease-out: cubic-bezier(0.39, 0.575, 0.565, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--main);
  font-family: "Manrope", Arial, sans-serif;
  font-size: var(--fs-caption);
  font-weight: 500;
  line-height: var(--lh-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.overflow-hidden { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--oak); color: var(--white); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.page-wrapper { position: relative; }
.padding-global { padding-left: var(--gutter); padding-right: var(--gutter); }
.container-global { width: 100%; max-width: var(--container); margin: 0 auto; }
.overflow-hidden { overflow: hidden; }

/* --------------------------------------------------------------------------
   Typography
   Headlines pair a light weight with a medium weight to echo the reference's
   mixed-case editorial rhythm, while staying 100% Manrope.
   -------------------------------------------------------------------------- */
.heading-style-h1 {
  font-size: var(--fs-h1);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.heading-style-h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.is-em { font-weight: 600; }
.is-thin { font-weight: 200; }

.caption { font-size: var(--fs-caption); line-height: var(--lh-caption); }
.text-taupe { color: var(--taupe); }
.text-oak { color: var(--oak); }

/* Small square marker used across tags, buttons and lists */
.marker {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: currentColor;
}

/* Split text helpers */
.word, .char { display: inline-block; }
.line-mask { overflow: hidden; display: block; }
[animation*="fade_in_text"] { opacity: 0; font-kerning: none; }
[animation*="staggered_link"] { font-kerning: none; }
@media (hover: hover) and (min-width: 1025px) {
  [animation*="staggered_link"] { overflow: hidden; display: inline-block; vertical-align: top; }
  [animation*="staggered_link"] .char { text-shadow: 0 1em 0 currentColor; }
}

/* Mosaic squares (scroll reveal) */
.mosaic_root {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: start;
  overflow: hidden;
  pointer-events: none;
}
.mosaic_square {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background-color: var(--main);
}
.mosaic_root.is-light .mosaic_square { background-color: var(--bg); }

/* Accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible { outline: 1px solid var(--oak); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive type scale
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  :root { --fs-h1: 5rem; --fs-h2: 2.5rem; }
}
@media (max-width: 991px) {
  :root { --fs-h1: 4rem; --fs-h2: 2.25rem; --section-gap: 6.25rem; }
}
@media (max-width: 767px) {
  :root { --fs-h1: 3rem; --fs-h2: 2rem; }
}
@media (max-width: 479px) {
  :root { --fs-h1: 2.5rem; --fs-h2: 1.75rem; --gutter: 1rem; --section-gap: 4.5rem; --fs-caption: 0.75rem; }
}
