:root {
  --ink: #102447;
  --muted: #5a6680;
  --paper: #f5f8ff;
  --linen: #e9eef9;
  --green: #1f4b7a;
  --green-dark: #102a54;
  --gold: #f2c45a;
  --water: #dbe6f8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 25, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #102a54 0, #173766 460px, var(--paper) 461px);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 22, 51, 0.96), rgba(7, 22, 51, 0.72) 72%, rgba(7, 22, 51, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: #102a54;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand-logo-text,
.board-logo-text {
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
}

.brand-logo-text {
  font-size: 1.15rem;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("terassi-sisaan-tulo.jpeg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 51, 0.86), rgba(7, 22, 51, 0.42) 46%, rgba(7, 22, 51, 0.10)),
    linear-gradient(0deg, rgba(7, 22, 51, 0.74), rgba(7, 22, 51, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 9vh, 84px) clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.story-section h2,
.section-heading h2,
.info-card h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  color: var(--gold);
  font-size: clamp(2.2rem, 5.8vw, 4.9rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--green-dark);
  background: var(--gold);
}

.button.whatsapp-button {
  color: var(--white);
  background: #1f6d50;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(16, 42, 84, 0.50);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.story-section,
.menu-section,
.info-section,
.gallery-section,
.order-section,
.events-section {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 74px);
}

.story-section {
  background: var(--paper);
}

.content-grid,
.info-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.story-section h2,
.section-heading h2,
.info-card h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.story-section h2 {
  font-size: clamp(1.7rem, 3.1vw, 3rem);
}

.story-copy {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.72;
}

.story-copy p {
  margin: 0;
}

.text-panel {
  padding-top: 8px;
  color: var(--muted);
  font-size: 1.1rem;
}

.text-panel p {
  margin: 0;
}

.place-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.68fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: clamp(34px, 6vw, 74px);
  padding-top: clamp(28px, 5vw, 56px);
  border-top: 1px solid rgba(47, 93, 75, 0.14);
}

.place-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.place-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.place-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.place-copy .open-season {
  margin-top: 18px;
  color: var(--green-dark);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.25;
}

.highlights-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #102a54;
}

.highlights-section article {
  min-height: 155px;
  padding: clamp(24px, 4vw, 40px);
  background: #173766;
  color: var(--white);
}

.highlights-section strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.18rem;
}

.highlights-section span {
  color: rgba(255, 255, 255, 0.82);
}

.menu-section {
  background:
    linear-gradient(180deg, rgba(16, 42, 84, 0.96), rgba(16, 42, 84, 0.90)),
    url("paatelanportti-rakennus.jpeg") center/cover;
  color: var(--white);
}

.menu-section .section-kicker,
.menu-section .menu-card h3 {
  color: var(--gold);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card,
.info-card {
  border: 1px solid rgba(16, 42, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.menu-card {
  display: flex;
  position: relative;
  min-height: 310px;
  flex-direction: column;
  overflow: hidden;
}

.menu-card-text {
  justify-content: center;
  min-height: 220px;
  padding-top: 28px;
}

.menu-card h3 {
  margin: 22px 28px 10px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.menu-card p {
  margin: 0 28px 28px;
  color: var(--muted);
}

.pizza-toppings {
  margin: -12px 28px 28px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(242, 183, 79, 0.12);
}

.pizza-toppings strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pizza-toppings p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.menu-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-label {
  align-self: flex-start;
  margin: -18px 28px 0;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--green-dark);
  background: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(8, 25, 56, 0.18);
}

.menu-card-text .menu-label {
  margin-top: 0;
}

.weekly-lunch-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.weekly-lunch-copy h3 {
  margin: 18px 0 10px;
  color: var(--green-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.weekly-lunch-copy p {
  margin: 0;
  color: var(--muted);
}

.weekly-menu-view {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.weekly-menu-tools {
  min-width: 0;
}

.lunch-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--water);
}

.lunch-note strong {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.lunch-note span {
  color: var(--muted);
  font-weight: 900;
}

.weekly-day {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 42, 84, 0.12);
}

.weekly-day strong {
  color: var(--green-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.weekly-day span {
  color: var(--muted);
  font-weight: 700;
}

.weekly-menu-editor {
  width: 100%;
  min-height: 210px;
  margin-top: 8px;
  resize: vertical;
  border: 1px solid rgba(16, 42, 84, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.weekly-menu-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.staff-tools {
  display: none !important;
}

.weekly-menu-controls button {
  border: 1px solid rgba(16, 42, 84, 0.16);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--green-dark);
  background: var(--water);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.boards-section {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 74px);
  background: #102a54;
  color: var(--white);
}

.boards-section .section-kicker {
  color: var(--gold);
}

.boards-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.board-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 84, 0.16);
  border-radius: 8px;
  background: #102a54;
  color: var(--white);
  box-shadow: var(--shadow);
}

.board-panel > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  background: #102a54;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.board-copy {
  padding: clamp(22px, 3vw, 32px);
}

.board-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.logo-board {
  background:
    linear-gradient(155deg, rgba(16, 42, 84, 0.98), rgba(23, 55, 102, 0.92)),
    url("paatelanportti-rakennus.jpeg") center/cover;
}

.logo-board .board-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.board-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #102a54;
}

.board-logo-text {
  font-size: 2rem;
}

.board-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.price-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.price-list span {
  min-width: 0;
}

.price-list strong {
  color: var(--gold);
  white-space: nowrap;
}

.price-subheading {
  margin-top: 8px;
}

.price-subheading span {
  color: var(--white);
  font-weight: 900;
}

.gallery-section {
  background: var(--linen);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #102a54;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-large img {
  min-height: 478px;
}

.gallery-balanced img {
  min-height: 280px;
  object-position: center;
}

.gallery-wide-view img {
  min-height: 360px;
}

.gallery-balanced.gallery-wide-view {
  grid-column: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 22, 51, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.gallery-grid figcaption.caption-top {
  top: 14px;
  bottom: auto;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 42, 84, 0.95), rgba(23, 55, 102, 0.92)),
    url("talon-pizza.jpeg") center/cover;
  color: var(--white);
}

.events-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(120deg, rgba(245, 248, 255, 0.96), rgba(233, 238, 249, 0.94)),
    url("paatelanportti-rakennus.jpeg") center/cover;
}

.events-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
}

.events-copy p:not(.section-kicker) {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.event-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(8, 25, 56, 0.10);
  font-weight: 800;
}

.ship-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 42, 84, 0.94), rgba(23, 55, 102, 0.92)),
    url("paatelanportti-rakennus.jpeg") center/cover;
  box-shadow: var(--shadow);
}

.ship-card h3 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.ship-card p:not(.section-kicker) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.ship-card .button {
  justify-self: start;
}

.event-calendar-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(16, 42, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow);
}

.event-calendar-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.event-calendar-card p:not(.section-kicker),
.event-calendar-content p {
  margin: 10px 0 0;
  color: var(--muted);
}

.event-calendar-view {
  display: grid;
  gap: 10px;
}

.event-poster {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 84, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.event-poster img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: var(--white);
}

.event-calendar-item {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
}

.event-calendar-meta {
  display: grid;
  align-content: start;
  gap: 4px;
}

.event-calendar-meta strong {
  color: var(--green-dark);
  font-size: 0.92rem;
}

.event-calendar-meta span {
  color: var(--gold);
  font-weight: 900;
}

.event-calendar-content h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.event-calendar-editor {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid rgba(16, 42, 84, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.event-calendar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-calendar-controls button {
  border: 1px solid rgba(16, 42, 84, 0.16);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--green-dark);
  background: var(--water);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.event-form,
.feedback-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(16, 42, 84, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.event-form h3,
.feedback-intro h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.event-form label,
.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 800;
}

.event-form input,
.event-form select,
.event-form textarea,
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 42, 84, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.event-form textarea,
.feedback-form textarea {
  resize: vertical;
}

.event-form button,
.feedback-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.order-section h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.order-section p:not(.section-kicker) {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.order-actions {
  display: grid;
  gap: 12px;
  min-width: min(320px, 100%);
}

.navy-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.10);
}

.info-section {
  background:
    linear-gradient(90deg, rgba(7, 22, 51, 0.94), rgba(16, 42, 84, 0.90)),
    url("paatelanportti-rakennus.jpeg") center/cover;
  color: var(--white);
}

.info-card {
  min-height: 300px;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(245, 248, 255, 0.95);
  color: var(--ink);
}

address {
  margin: 24px 0 16px;
  font-style: normal;
}

.phone-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.social-follow {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.social-follow span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 42, 84, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(24, 119, 242, 0.09);
  color: #123f83;
  font-weight: 900;
  text-decoration: none;
}

.social-link.instagram {
  background: rgba(224, 64, 151, 0.1);
  color: #7d235f;
}

.social-link:hover {
  transform: translateY(-1px);
}

.map-link {
  display: table;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 800;
}

.map-preview {
  width: 100%;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 84, 0.14);
  border-radius: 8px;
  background: var(--water);
  aspect-ratio: 16 / 10;
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.feedback-intro {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 42, 84, 0.14);
}

.feedback-intro p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feedback-form {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hours-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.hours-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(47, 93, 75, 0.18);
}

.hours-list dt {
  font-weight: 800;
}

.hours-list dd {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 5vw, 74px);
  background: var(--green-dark);
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
}

.privacy-section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 74px);
  background: var(--green-dark);
  color: var(--white);
}

.privacy-section .section-heading {
  max-width: 850px;
}

.privacy-section .section-kicker,
.privacy-section h2 {
  color: var(--gold);
}

.privacy-section .section-heading p,
.privacy-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.privacy-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.privacy-grid h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.15rem;
}

.cookie-banner {
  position: fixed;
  z-index: 45;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(242, 196, 90, 0.45);
  border-radius: 8px;
  background: rgba(16, 36, 71, 0.97);
  color: var(--white);
  box-shadow: 0 22px 55px rgba(8, 25, 56, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.cookie-actions a,
.cookie-actions button {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
}

.cookie-actions a {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
}

.cookie-actions button {
  border: 0;
  color: var(--green-dark);
  background: var(--gold);
  cursor: pointer;
}

.chat-widget {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
}

.chat-toggle,
.chat-form button,
.chat-close {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.chat-toggle {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  font-weight: 800;
}

.chat-symbol {
  position: relative;
  width: 20px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.chat-symbol::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -6px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(35deg);
  background: var(--green-dark);
}

.chat-box {
  width: min(360px, calc(100vw - 36px));
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: var(--green-dark);
}

.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.3rem;
}

.chat-messages,
.chat-form,
.quick-messages {
  padding: 16px;
}

.bot-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--water);
  color: var(--green-dark);
}

.chat-form {
  display: grid;
  gap: 10px;
  padding-top: 0;
}

.quick-messages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
}

.quick-messages button {
  border: 1px solid rgba(16, 42, 84, 0.16);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--green-dark);
  background: var(--water);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.chat-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(24, 33, 29, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.chat-form button {
  min-height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(7, 22, 51, 0.92), rgba(16, 42, 84, 0.86)),
    url("paatelanportti-rakennus.jpeg") center/cover;
}

.thanks-view {
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: rgba(245, 248, 255, 0.95);
  box-shadow: var(--shadow);
}

.thanks-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #102a54;
}

.thanks-view h1 {
  margin: 18px 0 0;
  color: var(--green-dark);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.thanks-view p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .site-header {
    position: fixed;
    align-items: flex-start;
    gap: 10px;
    min-height: 70px;
    padding: 10px 12px 12px;
    background: linear-gradient(180deg, rgba(7, 22, 51, 0.98), rgba(7, 22, 51, 0.90) 70%, rgba(7, 22, 51, 0.20));
    backdrop-filter: blur(8px);
  }

  .nav-links {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 6px;
    max-width: calc(100vw - 94px);
    margin-left: auto;
    min-width: 0;
    overflow-x: auto;
    padding: 3px 0 10px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 7px 9px;
    background: rgba(16, 42, 84, 0.76);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    font-size: 0.78rem;
  }

  .hero {
    min-height: 92svh;
    background: #071633;
  }

  .hero-media {
    background-position: 78% 76px;
    background-repeat: no-repeat;
    background-size: auto 58svh;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 22, 51, 0.02) 0%, rgba(7, 22, 51, 0.16) 32%, rgba(7, 22, 51, 0.82) 62%, rgba(7, 22, 51, 0.98) 100%),
      linear-gradient(90deg, rgba(7, 22, 51, 0.62), rgba(7, 22, 51, 0.16) 56%, rgba(7, 22, 51, 0.06));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-facts {
    margin-top: 22px;
  }

  .content-grid,
  .place-feature,
  .highlights-section,
  .info-section,
  .weekly-lunch-panel,
  .menu-grid,
  .boards-layout,
  .gallery-grid,
  .order-section,
  .events-section {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: auto;
  }

  .board-panel img {
    min-height: auto;
  }

  .gallery-large {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-large img {
    min-height: 260px;
  }

  .gallery-grid figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .gallery-grid figcaption.caption-top {
    top: 10px;
    bottom: auto;
  }

  .gallery-balanced img {
    min-height: 260px;
  }

  .gallery-wide-view img {
    min-height: 300px;
  }

  .gallery-balanced.gallery-wide-view {
    grid-column: auto;
  }

  .order-actions {
    min-width: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .event-calendar-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .menu-grid,
  .boards-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-board {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.92rem;
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    max-width: calc(100vw - 70px);
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.74rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-facts div {
    padding: 8px;
  }

  .hero-facts dt {
    font-size: 0.62rem;
  }

  .hero-facts dd {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hours-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions {
    justify-content: space-between;
  }
}
