/* Carlow Pubs tokens: colours, fonts and sizes. Change the look here.
   One palette for the whole site; pub pages don't take the pub's own colours.
   --deep is for dark surfaces (hero, What's here, footer), --accent sits on
   --deep, and --accent-ink is the accent for text on the light page. */

@font-face{font-family:'GT Ultra';src:url('/fonts/GT-Ultra-Standard-Ultra.woff2') format('woff2');font-weight:400 900;font-display:swap}
/* The GT Ultra file we have is a subset with no punctuation (? ! ' : & etc).
   Those characters fall back to Geomanist Black until we get the full font. */
@font-face{font-family:'CP Display Punctuation';src:url('/fonts/geomanist-black.woff2') format('woff2');font-display:swap;unicode-range:U+0021-002F,U+003A-0040,U+2013-2014,U+2018-201D,U+20AC}
@font-face{font-family:'Geomanist';src:url('/fonts/geomanist-book.woff2') format('woff2');font-weight:350;font-display:swap}
@font-face{font-family:'Geomanist';src:url('/fonts/geomanist-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Geomanist';src:url('/fonts/geomanist-medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Geomanist';src:url('/fonts/geomanist-bold.woff2') format('woff2');font-weight:700;font-display:swap}

:root{
  /* Text and surfaces on the light page */
  --ink:#17130F;
  --ink-2:#3E362F;
  --muted:#71675C;
  --page:#F4EFE6;
  --paper:#FBF8F2;
  --line:#E4DBCC;
  --line-strong:#CEC1AC;

  /* Dark surfaces and what sits on them */
  --deep:#17130F;
  --on-deep:#F4EEE3;
  --on-deep-2:rgba(244,238,227,.68);
  --on-deep-line:rgba(244,238,227,.15);

  /* Accent: --accent on dark, --accent-ink for accent text on the page */
  --accent:#E1B55C;
  --accent-soft:rgba(225,181,92,.14);
  --accent-ink:#8A5C10;
  --accent-tint:#F3E5C8;
  --open:#5FD08F;
  --open-ink:#2E9C5C;

  /* Type */
  --font-display:'GT Ultra','CP Display Punctuation',Georgia,serif;
  --font-body:'Geomanist',ui-sans-serif,system-ui,sans-serif;

  /* Layout */
  --gutter:40px;
  --page-max:1240px;
  --header-h:76px;
  --r-xl:32px;
  --r-lg:24px;
  --r:18px;
  --r-sm:12px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --shadow-card:0 1px 0 rgba(23,19,15,.03),0 30px 60px -46px rgba(23,19,15,.4);

  /* Fine grain on black areas so they read like paint, not a flat fill */
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Accents to compare on the black base, picked with the switcher at the bottom
   left of the preview (or ?palette=blue in the address). Gold is the default
   above. Once Craig picks one, make it the default and delete the rest.
   Each --accent-ink keeps at least 4.5:1 contrast on the cream page. */
[data-palette="cream"]{--accent:#EFE3CC;--accent-soft:rgba(239,227,204,.12);--accent-ink:#6B5536;--accent-tint:#ECE3D3}
[data-palette="red"]{--accent:#FF6A48;--accent-soft:rgba(255,106,72,.15);--accent-ink:#B5361D;--accent-tint:#FCE0D7}
[data-palette="blue"]{--accent:#6F9BFF;--accent-soft:rgba(111,155,255,.15);--accent-ink:#2A55C4;--accent-tint:#DFE7FB}
[data-palette="lime"]{--accent:#CDEB5E;--accent-soft:rgba(205,235,94,.13);--accent-ink:#4E6A00;--accent-tint:#EBF3C8}
[data-palette="pink"]{--accent:#FF8DB4;--accent-soft:rgba(255,141,180,.15);--accent-ink:#B0306A;--accent-tint:#FBDDE8}
[data-palette="lilac"]{--accent:#BFA4FF;--accent-soft:rgba(191,164,255,.15);--accent-ink:#6440C8;--accent-tint:#E8DFFB}
/* The original pastels from the first design system: off-white page, near-black,
   and lilac, periwinkle, sage and sand, one per What's here column. */
[data-palette="pastel"]{--ink:#141414;--ink-2:#3B3D39;--muted:#61655E;--page:#EDF0EB;--paper:#F8F9F6;--line:#D9DED6;--line-strong:#BFC6BB;--deep:#141414;--on-deep:#EDF0EB;--on-deep-2:rgba(237,240,235,.66);--on-deep-line:rgba(237,240,235,.15);--accent:#C28ED1;--accent-soft:rgba(194,142,209,.16);--accent-ink:#7A3E8C;--accent-tint:#E9DDF0}
[data-palette="pastel"] .here__group:nth-child(2),[data-palette="pastel"] .regular:nth-child(2){--accent:#BCCBEA;--accent-soft:rgba(188,203,234,.16)}
[data-palette="pastel"] .here__group:nth-child(3),[data-palette="pastel"] .regular:nth-child(3){--accent:#BECFBB;--accent-soft:rgba(190,207,187,.16)}
[data-palette="pastel"] .here__group:nth-child(4){--accent:#E7DCC8;--accent-soft:rgba(231,220,200,.15)}
@media (max-width:760px){:root{--gutter:18px;--header-h:64px;--r-xl:24px;--r-lg:20px}}
