/* Valentina & Salih — wedding theme. The one source of truth for paper, paint and type.
   Change a value here and both the website and the style guide follow. */
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400;1,500&family=Gloock&display=swap');

:root {
  /* The five paints, from the moodboard. Always at full strength: no tints, no transparency. */
  --wed-burgundy:   #4C161D;
  --wed-dusty-rose: #96404A;
  --wed-baby-pink:  #EBC3BC;
  --wed-olive:      #636A31;
  --wed-ivory:      #FBEFD3;   /* the save-the-date's own paper */

  /* Roles */
  --paper:    var(--wed-ivory);
  --ink:      var(--wed-burgundy);
  --ink-soft: var(--wed-dusty-rose);   /* notes and captions on paper */
  --leaf:     var(--wed-olive);

  /* Type: Gloock for names, headings and every practical figure; Alegreya Sans for reading */
  --font-display: 'Gloock', 'Times New Roman', serif;
  --font-text:    'Alegreya Sans', 'Trebuchet MS', sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
}

/* Watercolour washes: one patch of the painted save-the-date, recoloured into each paint
   and tiled. They are the only texture on the site. */
.wash-burgundy { background: #4C161D url(assets/wash/burgundy.jpg) 0 0 / 916px auto; color: var(--paper); }
.wash-rose     { background: #96404A url(assets/wash/rose.jpg) 0 0 / 916px auto;     color: var(--paper); }
.wash-pink     { background: #EBC3BC url(assets/wash/pink.jpg) 0 0 / 916px auto;     color: var(--ink); }
.wash-olive    { background: #636A31 url(assets/wash/olive.jpg) 0 0 / 916px auto;    color: var(--paper); }

/* Buttons are small painted rectangles, never pills. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 0; cursor: pointer;
  font: 700 17px/1.2 var(--font-text); letter-spacing: .01em; text-align: center; text-decoration: none;
  background: #4C161D url(assets/wash/burgundy.jpg) 0 0 / 916px auto; color: var(--paper);
}
.btn:hover { background: #96404A url(assets/wash/rose.jpg) 0 0 / 916px auto; color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #EBC3BC url(assets/wash/pink.jpg) 0 0 / 916px auto; color: var(--ink); }
.btn-paper:focus-visible { outline-color: var(--paper); }

/* Motifs */
.amp { font-family: var(--font-display); font-style: normal; color: var(--ink-soft); }
.checker {               /* the black-and-cream dance floor: burgundy wash showing through every other square */
  height: 56px;
  background: #4C161D url(assets/wash/burgundy.jpg) 0 0 / 916px auto;
  -webkit-mask: repeating-conic-gradient(#000 0 25%, transparent 0 50%) 0 0 / 56px 56px;
          mask: repeating-conic-gradient(#000 0 25%, transparent 0 50%) 0 0 / 56px 56px;
}

/* Browser surfaces carry the palette too. */
::selection { background: var(--wed-baby-pink); color: var(--wed-burgundy); }
html { scrollbar-color: var(--wed-dusty-rose) var(--paper); }
body { caret-color: var(--wed-dusty-rose); }
:focus-visible { outline: 2px solid var(--wed-burgundy); outline-offset: 3px; }
