/* Design tokens: cream / plum / gold with a berry accent. Final values follow the official brand guidelines. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour */
  --cream:      #FBF6EC;
  --cream-2:    #F4EBDA;
  --milk:       #F7ECE6;
  --paper:      #FFFDF8;
  --plum:       #2A1233;
  --plum-2:     #3B1B47;
  --plum-3:     #51295F;
  --gold:       #D9B65D;
  --gold-deep:  #8A6416;   /* text on cream, 4.8:1 */
  --berry:      #A82148;
  --berry-dark: #8B1A3B;
  --berry-soft: #F3D5DA;
  --ink:        #2A1233;
  --ink-2:      #5A4762;   /* body copy on cream, 7:1 */
  --ink-3:      #6E5C75;
  --line:       rgba(42, 18, 51, .14);
  --line-light: rgba(251, 246, 236, .22);
  --on-plum:    #F1E7D6;
  --on-plum-2:  #CDBFD3;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-0: clamp(.9rem, .88rem + .1vw, .96rem);
  --fs-1: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-2: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-3: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --fs-4: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-5: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  --fs-6: clamp(2.7rem, 1.4rem + 5.6vw, 6rem);

  /* space (8px scale) */
  --s-1: .5rem;  --s-2: 1rem;  --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;   --s-6: 4rem;  --s-7: 6rem;    --s-8: 8rem;
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* shape */
  --r-1: 10px;  --r-2: 18px;  --r-3: 28px;  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(42, 18, 51, .06), 0 8px 24px rgba(42, 18, 51, .08);
  --shadow-2: 0 2px 4px rgba(42, 18, 51, .08), 0 24px 60px rgba(42, 18, 51, .16);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 650ms;

  --container: 1240px;
  --gutter: clamp(1.25rem, .6rem + 3vw, 2.5rem);
  --header-h: 76px;
}
