/* ————————————————————————————————————————
   KETO.IRISH — pub menu, minus the potatoes
   ———————————————————————————————————————— */

:root {
  --pub: #14342B;
  --pub-2: #1B4237;
  --line: #2C5747;
  --cream: #F4EBD7;
  --cream-dim: #B9C9B8;
  --brass: #C9A227;
  --brass-bright: #E4BD45;
  --display: "Playfair Display", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(110% 70% at 50% -8%, var(--pub-2), transparent 62%),
    var(--pub);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--pub); }

a { color: var(--brass-bright); }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--pub) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  color: var(--cream);
  text-decoration: none;
}

.wordmark span { color: var(--brass-bright); font-style: italic; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a {
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--cream); }

.nav-cta {
  color: var(--pub) !important;
  background: var(--brass-bright);
  padding: 8px 16px;
  border-radius: 999px;
  transition: transform 0.2s, filter 0.2s;
}

.nav-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* hero */

.hero {
  position: relative;
  padding: clamp(78px, 13vh, 150px) var(--gutter) clamp(80px, 13vh, 140px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.brass-rule {
  width: 90px;
  height: 3px;
  margin: 0 auto 30px;
  background: var(--brass);
  border-radius: 999px;
  box-shadow: 0 6px 0 -2px var(--brass);
}

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8.6vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 14ch;
}

.hero h1 em { font-style: italic; color: var(--brass-bright); }

.lede {
  max-width: 58ch;
  margin: 26px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--cream-dim);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-weight: 700;
  font-size: 15px;
  color: var(--pub);
  background: var(--brass-bright);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.25);
  transition: transform 0.15s, filter 0.2s;
}

.hero-cta:hover { filter: brightness(1.07); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(64px, 10vh, 116px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 800px; margin-bottom: clamp(30px, 5vh, 48px); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-head p { color: var(--cream-dim); max-width: 58ch; }

/* menu of dishes */

.menu { max-width: 900px; display: grid; gap: 14px; }

.dish {
  background: color-mix(in srgb, var(--pub-2) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.dish:hover { border-color: color-mix(in srgb, var(--brass) 55%, var(--line)); }

.dish[open] { border-color: var(--brass); }

.dish summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 20px 24px;
}

.dish summary::-webkit-details-marker { display: none; }

.dish summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 24px;
  color: var(--brass-bright);
  margin-left: auto;
  transition: transform 0.25s;
}

.dish[open] summary::after { transform: rotate(45deg); }

.dish-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -0.01em;
}

.dish-meta {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.recipe {
  border-top: 1px dashed var(--line);
  padding: 22px 24px 26px;
}

.swap {
  background: color-mix(in srgb, var(--brass) 14%, transparent);
  border-left: 3px solid var(--brass);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 14px;
}

.serves {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 18px;
}

.recipe-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.recipe h4 {
  font-family: var(--display);
  font-size: 18px;
  color: var(--brass-bright);
  margin-bottom: 10px;
}

.recipe ul, .recipe ol { padding-left: 20px; color: var(--cream-dim); font-size: 15px; }

.recipe li { margin-bottom: 7px; }

.recipe li::marker { color: var(--brass); }

/* rules */

.rules { list-style: none; max-width: 720px; }

.rules li {
  padding: 17px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--cream-dim);
  font-size: clamp(16px, 2vw, 19px);
}

.rules li:first-child { border-top: 1px dashed var(--line); }

.rules strong { color: var(--cream); font-family: var(--display); font-weight: 700; }

/* forum cta */

.forum-cta { border-bottom: none; }

.forum-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(130% 150% at 50% 0%, color-mix(in srgb, var(--brass) 12%, transparent), transparent 60%),
    var(--pub-2);
  padding: clamp(34px, 6vw, 54px);
}

.forum-card h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 40px);
  margin-bottom: 12px;
}

.forum-card p { color: var(--cream-dim); }

/* footer */

.site-footer {
  padding: 38px var(--gutter) 50px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links span { color: var(--cream-dim); }

.footer-links a { text-decoration: none; color: var(--brass-bright); transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

.site-footer > p { color: var(--cream-dim); font-size: 13px; max-width: 72ch; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cta:hover, .nav-cta:hover { transform: none; }
  .dish summary::after { transition: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
  .hero { text-align: left; }
  .brass-rule { margin: 0 0 30px; }
  .lede { margin-left: 0; }
}
