/* Restaurang Dragörkajen — designtokens. Ändra färger och typsnitt här, så slår det igenom på hela sajten. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Playfair+Display+SC:wght@400;700&family=Hanken+Grotesk:wght@400;500;600&display=swap');

:root {
  /* Färger (navy och guld provtagna ur logotypen i PDF:en) */
  --navy: #000B3B;          /* huvudgrund mörk */
  --navy-2: #0A1852;        /* kort och fält på navy */
  --navy-line: rgba(244, 244, 238, 0.14);
  --offwhite: #F4F4EE;      /* huvudgrund ljus */
  --cream: #EAE7DB;         /* alternerande ljus sektion, bildplatshållare */
  --white: #FFFFFF;
  --ink: #000B3B;           /* text på ljus grund */
  --ink-soft: #424A6E;      /* brödtext sekundär på ljus grund */
  --on-navy-soft: #C8CBD8;  /* brödtext sekundär på navy */
  --gold: #9A7F4C;          /* ankarguld: ikoner, linjer, knappar */
  --gold-light: #B89A62;    /* hover på navy */
  --gold-ink: #745C30;      /* guld för liten text på ljus grund (kontrast 4.5:1) */
  --line-light: rgba(0, 11, 59, 0.14);
  --error: #A3362B;
  --success: #2F6B4F;

  /* Typsnitt */
  --font-serif: 'Playfair Display SC', 'Playfair Display', Georgia, serif;          /* rubriker och menytexter */
  --font-logo: 'Playfair Display', Georgia, serif;                   /* endast ordmärket, som i PDF:en */
  --font-sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* Typskala */
  --t-display: clamp(2.375rem, 5.8vw, 4.5rem);
  --t-h1: clamp(2.125rem, 4.6vw, 3.5rem);
  --t-h2: clamp(1.75rem, 3.2vw, 2.625rem);
  --t-h3: clamp(1.3rem, 1.8vw, 1.5rem);
  --t-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.75rem;

  /* Form och rytm */
  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--offwhite); color: var(--ink); font-family: var(--font-sans); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; line-height: 1.16; letter-spacing: 0.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 4px; }
a:hover { color: var(--gold-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details[open] .dk-plus { transform: rotate(45deg); }
[aria-current="page"] { color: var(--gold-light) !important; border-bottom-color: var(--gold) !important; }
.dk-skip { position: absolute; left: 12px; top: 12px; z-index: 200; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--gold); color: var(--white); padding: 0; font-weight: 600; text-decoration: none; }
.dk-skip:focus { width: auto; height: auto; clip-path: none; padding: 12px 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
