/* ÒRÚN brand tokens — source: Brand Book v1.5.
   This file is the single source of truth for every ÒRÚN surface
   (website, staff portal, guest app). Change values here only when the Brand Book changes. */

@font-face {
  font-family: "Prickly Pear";
  src: url("../assets/fonts/PricklyPear-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  /* 04 · Color */
  --sage: #B5B897;
  --cream: #FFFBED;
  --brown: #5C3518;   /* Earth Brown: type, logo, small details. Never large solid areas. */
  --clay: #80634D;
  --sand: #EDE3D1;
  --coral: #E49483;   /* accent, small doses */
  --ochre: #BA9248;   /* accent, small doses */
  --rule: rgba(92, 53, 24, 0.22);

  /* 05 · Typography. Adobe Caslon Pro via Adobe Fonts once the kit is licensed;
     Libre Caslon Text is the Brand Book's named web fallback. Red Rose is logo-only. */
  --serif: "adobe-caslon-pro", "Adobe Caslon Pro", "Libre Caslon Text", Georgia, serif;
  --accent: "Prickly Pear", "Bradley Hand", cursive;

  --display: clamp(2.5rem, 5.4vw, 4.5rem);   /* 36–60pt, leading 1.05 */
  --heading: clamp(1.5rem, 2.2vw, 2rem);     /* 18–24pt */
  --body: clamp(1.0625rem, 1.15vw, 1.1875rem);
  --eyebrow: 0.72rem;                        /* caps, tracking +300 */

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --measure: 34rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--serif);
  font-size: var(--body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }

.eyebrow {
  font-size: var(--eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.6;
}
.display { font-size: var(--display); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.heading { font-size: var(--heading); line-height: 1.2; }
.es { font-style: italic; }

/* Accent: Prickly Pear, lowercase, one short line, 1.5× surrounding text, never under 14pt */
.accent {
  font-family: var(--accent);
  font-size: 1.6em;
  line-height: 1.15;
  text-transform: lowercase;
  display: inline-block;
  transform: rotate(-2deg);
}

/* Buttons: Brown with Cream tracked caps */
.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--serif);
  font-size: var(--eyebrow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.9em 0.95em;
  border: 1px solid var(--brown);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--brown); }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--brown); color: var(--cream); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
