@font-face { font-family: "Solway"; src: url("fonts/solway-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Solway"; src: url("fonts/solway-extrabold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("fonts/hk-grotesk-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("fonts/hk-grotesk-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --cream: #f8f4ed;
  --cream-light: #f5f5ef;
  --ink: #304254;
  --olive: #5e5b36;
  --white: #ffffff;
  --heading: "Solway", Georgia, serif;
  --body: "HK Grotesk", Arial, sans-serif;
  --button: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --accent: "Hammersmith One", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-synthesis: none;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: 0.086em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); text-align: center; margin-bottom: 1.4em; }
h3 { font-size: 1.1rem; text-align: center; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
}
.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 25px;
  max-width: none;
  padding: 10px 16px;
  font-size: 24px;
  line-height: 1.5;
}
.brand {
  color: var(--ink);
  text-decoration: none;
}
.site-nav { display: flex; gap: 25px; flex-wrap: wrap; }
.site-nav a {
  color: #8c8c8c;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block;
  min-width: 220px;
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
  font-family: var(--button);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 7px 24px;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--olive); color: var(--cream); }

/* Hero */
.hero {
  position: relative;
  aspect-ratio: 1366 / 768;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  background: url("img/hero.jpg") center 74% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.1) 50%, transparent 65%);
}
.hero h1 { position: relative; margin: 0; padding: 0 16px; font-size: clamp(1.5rem, 2.7vw, 3rem); }

/* Bands and sections */
section { padding: 88px 0; }

.band { text-align: center; }
.band .tagline {
  font-family: var(--body);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 0 0 28px;
}
.band .social { margin: 32px 0 0; font-size: 0.95rem; opacity: 0.9; }
.band .social strong { display: block; font-family: var(--accent); font-weight: 400; font-size: 1.15rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split > div { text-align: center; }
.split p, .split ul { text-align: justify; }
.split.reverse > :first-child { order: 2; }
.split img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.split p { margin: 0 0 1em; }
.split .btn { margin-top: 12px; }

.lead { font-weight: 700; }
.split .lead { text-align: center; }

/* Offer cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.card { text-align: center; }
.card img {
  width: 100%;
  aspect-ratio: 11 / 10;
  object-fit: cover;
  margin-bottom: 36px;
}

/* Lists */
.menu-list, .check-list { padding: 0; margin: 0 0 1.2em; list-style: none; }
.menu-list li {
  font-family: var(--heading);
  letter-spacing: 0.086em;
  margin-bottom: 0.65em;
}
.check-list li { position: relative; padding-left: 1.7em; margin-bottom: 0.4em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.4em;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

/* Shop */
.packages h2 { margin-bottom: 1.8em; }
.packages .split { grid-template-columns: 1fr 1fr; max-width: 1100px; margin: 0 auto; }
.packages img { max-width: 500px; aspect-ratio: 5 / 6; margin: 0 auto; }
.package-info { text-align: center; }
.package-info .spaced {
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.086em;
  max-width: 360px;
  margin: 0 auto 3.5em;
}
.menu-title {
  text-transform: none;
  font-size: 17px;
  margin-bottom: 1em;
}
.package-info .menu-list { text-align: center; margin-bottom: 3em; }
.package-info .menu-list li { font-size: 17px; margin-bottom: 0.95em; }

.dishes { padding: 140px 16px; }
.dish-box {
  max-width: 540px;
  min-height: 670px;
  margin: 0 auto;
  padding: 90px 24px;
  border: 3px solid var(--olive);
  text-align: center;
}
.dish-box h2 { margin-bottom: 2.6em; }
.dish-box .menu-list li { font-size: 17px; margin-bottom: 0.7em; }

/* Canva-style canvas: children are placed with the exact coordinates of the
   1366px-wide Canva design and everything scales with the viewport width. */
.canvas {
  container-type: inline-size;
  position: relative;
  padding: 0;
  height: calc(var(--h) * 100vw / 1366);
  margin-top: 13px;
}
.canvas .el {
  --u: calc(100cqw / 1366);
  position: absolute;
  top: calc(var(--top) * var(--u));
  left: calc(var(--left) * var(--u));
  width: calc(var(--w) * var(--u));
  font-size: calc(var(--fs, 20) * var(--u));
  line-height: 1.4;
  margin: 0;
}
.canvas h2.el, .canvas h3.el { text-align: center; color: var(--olive); white-space: nowrap; }
.canvas .crop { height: calc(var(--hh) * var(--u)); overflow: hidden; }
.canvas .crop img {
  position: absolute;
  top: calc(var(--top) * var(--u));
  left: calc(var(--left) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--hh) * var(--u));
  max-width: none;
}
.canvas .btn.el {
  height: calc(var(--hh) * var(--u));
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas p { margin: 0; }
.canvas .gap-before { margin-top: 1.4em; }
.canvas ul { padding-left: 1.7em; margin-bottom: 0; }

.empty { text-align: center; min-height: 50vh; }
.empty p { max-width: 520px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: var(--olive);
  color: var(--cream);
  padding: 40px 0;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .split, .cards { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .dish-box { min-height: 0; padding: 56px 16px; }
  .packages .split { grid-template-columns: 1fr; }
  .canvas { height: auto; padding: 56px 16px; display: flex; flex-direction: column; gap: 24px; }
  .canvas .el { position: static; width: auto; font-size: 17px; }
  .canvas h2.el { font-size: 1.4rem; }
  .canvas h2.el, .canvas h3.el { white-space: normal; }
  .canvas .crop { height: auto; aspect-ratio: 3 / 4; }
  .canvas .crop img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }
  .canvas .btn.el { height: auto; padding: 10px 24px; align-self: center; font-size: 15px; }
  .coaching .crop { order: 1; }
  .coaching h3.el:nth-of-type(2), .coaching div.el:last-of-type, .coaching .btn.el { order: 2; }
  .dishes { padding: 56px 16px; }
  .site-header .wrap { flex-wrap: wrap; gap: 4px 20px; }
  .site-nav { gap: 20px; }
}
