/* D'Knight — tokens + components in one file. Fonts load from ../fonts/. */
/* D'Knight — generated from tokens.json */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root, [data-theme="light"] {
  --gold-highlight: #fbe196;
  --gold: #eaba68;
  --gold-deep: #c8822c;
  --bronze: #a26627;
  --bronze-text: #7a5520;
  --cocoa: #2d1400;
  --espresso: #211e19;
  --night: #16110e;
  --parchment: #fbd395;
  --sky-cream: #fef3d4;
  --cream: #fce4c9;
  --crust: #946240;
  --hearth-brown: #6b5039;
  --taal-mist: #5f7287;
  --taal-mist-light: #9aabc0;
  --surface-100: var(--sky-cream);
  --surface-200: var(--cream);
  --surface-raised: #fffaee;
  --ink: var(--cocoa);
  --ink-muted: var(--hearth-brown);
  --accent: var(--bronze-text);
  --ornament: var(--bronze);
  --action: var(--espresso);
  --on-action: var(--gold-highlight);
  --line: #d9bd8f;
  --line-strong: var(--bronze);
  --focus: var(--taal-mist);
  --ribbon: var(--parchment);
  --on-ribbon: var(--cocoa);
  --shadow-soft: 0 10px 28px rgba(45, 20, 0, 0.10);
  --shadow-glow: 0 0 0 1px rgba(162, 102, 39, 0.25), 0 8px 24px rgba(234, 186, 104, 0.25);
}

[data-theme="dark"] {
  --surface-100: var(--night);
  --surface-200: var(--espresso);
  --surface-raised: #2a231d;
  --ink: var(--sky-cream);
  --ink-muted: #cdb98f;
  --accent: var(--gold);
  --ornament: var(--gold);
  --action: var(--gold);
  --on-action: var(--night);
  --line: #6e614f;
  --line-strong: var(--gold-deep);
  --focus: var(--taal-mist-light);
  --ribbon: var(--parchment);
  --on-ribbon: var(--cocoa);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(234, 186, 104, 0.35), 0 0 32px rgba(234, 186, 104, 0.18);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
}

.wordmark { font-family: var(--font-display); font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: 0.04em; }
.display { font-family: var(--font-display); font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: 0.02em; }
.heading { font-family: var(--font-display); font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: 0.02em; }
.eyebrow { font-family: var(--font-display); font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.lead { font-family: var(--font-serif); font-size: 23px; line-height: 1.45; font-weight: 500; }
.body { font-family: var(--font-serif); font-size: 19px; line-height: 1.55; font-weight: 500; }
.small { font-family: var(--font-serif); font-size: 16px; line-height: 1.45; font-weight: 500; }
.price { font-family: var(--font-serif); font-size: 20px; line-height: 1.2; font-weight: 700; }
.script-lg { font-family: var(--font-script); font-size: 40px; line-height: 1.15; font-weight: 600; }
.script { font-family: var(--font-script); font-size: 24px; line-height: 1.3; font-weight: 500; }


/* D'Knight — component styles. Every value comes from tokens.css. */
body { background: var(--surface-100); color: var(--ink); font-family: var(--font-serif); margin: 0; }
.dk-pad { padding: var(--space-5); }
.dk-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.dk-stack { display: flex; flex-direction: column; gap: var(--space-3); }

/* Button */
.dk-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.dk-btn--primary { background: var(--action); color: var(--on-action); }
.dk-btn--primary:hover { box-shadow: var(--shadow-glow); }
.dk-btn--secondary { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.dk-btn--secondary:hover { background: var(--surface-200); }
.dk-btn--quiet { background: transparent; color: var(--accent); padding-left: var(--space-2); padding-right: var(--space-2); }
.dk-btn--quiet:hover { text-decoration: underline; text-underline-offset: 4px; }
.dk-btn:focus-visible, .dk-chip:focus-visible, .dk-menu-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dk-btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* Ornament: the "•" and fleur-de-lis dividers from the sign and banner */
.dk-ornament { display: flex; align-items: center; gap: var(--space-3); color: var(--ornament); }
.dk-ornament::before, .dk-ornament::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.dk-ornament__glyph { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.dk-tagline { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.dk-tagline .dot { color: var(--ornament); padding: 0 var(--space-2); }

/* Ribbon */
.dk-ribbon { position: relative; display: inline-block; padding: var(--space-2) var(--space-7); background: var(--ribbon); color: var(--on-ribbon);
  font-family: var(--font-script); font-size: 40px; font-weight: 600; line-height: 1.15;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%, 22px 50%); }

/* Chip */
.dk-chip { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); color: var(--accent); background: var(--surface-raised);
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* Menu item */
.dk-menu { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-2) var(--space-5); box-shadow: var(--shadow-soft); }
.dk-menu-item { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.dk-menu-item:last-child { border-bottom: 0; }
.dk-menu-item__name { font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--ink); }
.dk-menu-item__price { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.dk-menu-item__desc { grid-column: 1 / -1; font-size: 16px; line-height: 1.45; color: var(--ink-muted); margin: 0; }

/* Welcome card */
.dk-card { background: var(--surface-raised); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  outline: 1px solid var(--line); outline-offset: -8px; }
.dk-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dk-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.dk-card__title { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: 0.02em; }
.dk-card__text { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-muted); }
.dk-card__sign { font-family: var(--font-script); font-size: 24px; color: var(--accent); }

/* Moment card: the four simple pleasures */
.dk-moments { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.dk-moment { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--surface-raised); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-soft); outline: 1px solid var(--line); outline-offset: -8px; }
.dk-moment:hover { box-shadow: var(--shadow-glow); }
.dk-moment:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dk-moment--now { box-shadow: var(--shadow-glow); }
.dk-moment__when { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.dk-moment__title { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; }
.dk-moment__text { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink-muted); flex: 1; }
.dk-moment__go { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* Story block */
.dk-story { background: var(--surface-200); border-radius: var(--radius-lg); padding: var(--space-7) var(--space-6); text-align: center; }
.dk-story__inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.dk-story__title { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: 0.02em; color: var(--ink); }
.dk-story__text { margin: 0; font-size: 21px; line-height: 1.6; color: var(--ink); }
.dk-story__sign { font-family: var(--font-script); font-size: 26px; color: var(--accent); }
