/* Linda & Alex - 24 October 2026
   Palette and type lifted from the printed invitation: two colours, nothing else. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --plum: #481f36;          /* sampled from the invitation artwork */
  --plum-deep: #2b1020;
  --plum-lift: #5e2c47;
  --ivory: #ffffff;
  --ivory-72: rgba(255, 255, 255, 0.72);
  --ivory-46: rgba(255, 255, 255, 0.46);
  --ivory-18: rgba(255, 255, 255, 0.18);
  --ivory-10: rgba(255, 255, 255, 0.1);
  --card: #fbf6f0;          /* place-card stock */

  --display: 'Cormorant Garamond', 'Hoefler Text', Georgia, serif;
  --ui: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;

  --track-wide: 0.38em;
  --track-mid: 0.26em;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--plum);
  color: var(--ivory);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Cormorant ships oldstyle figures, which turn a table "1" into something
     indistinguishable from an I. Table numbers have to be unmistakable. */
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
}

/* The field is never a flat fill: light gathers at the top, falls away at the edges. */
.field {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(130% 68% at 50% -8%, var(--plum-lift) 0%, transparent 62%),
    radial-gradient(90% 55% at 50% 108%, var(--plum-deep) 0%, transparent 70%),
    var(--plum);
}

.field::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(118% 78% at 50% 44%, transparent 42%, rgba(23, 6, 16, 0.5) 100%);
}

.wordmark {
  font-weight: 300;
  letter-spacing: var(--track-wide);
  text-indent: var(--track-wide);
  line-height: 1;
  margin: 0;
}

.datemark {
  font-family: var(--ui);
  font-weight: 300;
  letter-spacing: var(--track-mid);
  text-indent: var(--track-mid);
  color: var(--ivory-72);
  margin: 0;
}

:where(a, button, input):focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}
