/* ==========================================================================
   Miggy's Piggies — static site styles
   Brand palette and type are defined once here. To change colors or fonts
   site-wide, edit the variables in :root below.
   ========================================================================== */

:root {
  --ink: #0e0e0e;
  --panel: #141414;
  --cream: #f2efe7;
  --amber: #d49a2c;
  --amber-hover: #e3ad44;
  --kraft: #c6a26a;

  --font-heading: "Oswald", sans-serif;
  --font-body: "Bitter", Georgia, serif;

  --nav-breakpoint: 860px;
}

/* --------------------------------- base --------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* The mobile nav pushes <main> down when open (see the toggle script). */
main {
  transition: padding-top 0.25s ease;
}

a {
  color: inherit;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

/* Shared kraft-paper texture overlay. */
.paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("assets/paper.png") repeat;
  mix-blend-mode: overlay;
}

/* -------------------------------- buttons -------------------------------- */

.btn {
  display: inline-block;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  padding: 11px 20px;
  font-size: 13px;
}
.btn-amber:hover {
  background: var(--amber-hover);
}

.btn-outline {
  border: 1px solid rgba(198, 162, 106, 0.5);
  background: transparent;
  color: var(--cream);
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--kraft);
  background: rgba(198, 162, 106, 0.1);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 13px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 15px;
}
.btn-block {
  display: block;
  text-align: center;
  padding: 15px;
  font-size: 15px;
}

.link-amber {
  color: var(--amber);
  text-decoration: none;
}

/* -------------------------------- eyebrow -------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.eyebrow-center {
  display: inline-flex;
  justify-content: center;
}
.eyebrow-rule {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--amber);
}
.eyebrow-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--amber);
}

/* Shared section heading. */
.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--cream);
  font-size: clamp(30px, 5vw, 54px);
  text-wrap: balance;
}

/* -------------------------------- header -------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: all 0.3s;
}
.site-header.is-scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(198, 162, 106, 0.22);
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo img {
  height: clamp(46px, 5vw, 54px);
  width: auto;
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled .header-logo img {
  opacity: 1;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}
.nav-desktop > a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(242, 239, 231, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop > a:not(.btn):hover {
  color: var(--cream);
}

.nav-toggle {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(198, 162, 106, 0.4);
  border-radius: 2px;
  background: transparent;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  margin: 6px calc(clamp(18px, 5vw, 64px) * -1) 0;
  padding: 6px clamp(18px, 5vw, 64px) 18px;
  border-top: 1px solid rgba(198, 162, 106, 0.16);
  background: rgba(14, 14, 14, 0.96);
}
/* The [hidden] attribute must win over display:flex above, or the menu would
   stay permanently open and cover the logo/top of the page on mobile. */
.nav-mobile[hidden] {
  display: none;
}
/* When the mobile menu is open, make the whole header solid so it reads as a
   proper menu bar instead of floating over the hero. */
.site-header:has(.nav-mobile:not([hidden])) {
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(198, 162, 106, 0.22);
}
.nav-mobile > a:not(.btn) {
  padding: 13px 2px;
  border-bottom: 1px solid rgba(198, 162, 106, 0.12);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(242, 239, 231, 0.82);
  text-decoration: none;
}
.nav-mobile > .btn {
  margin-top: 12px;
  padding: 14px;
  text-align: center;
}

@media (min-width: 860px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* --------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  padding: 24px clamp(18px, 5vw, 64px) clamp(56px, 9vh, 88px);
  background: linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.6) 0%,
      rgba(14, 14, 14, 0.14) 30%,
      rgba(14, 14, 14, 0.74) 76%,
      #0e0e0e 100%
    ),
    linear-gradient(
      90deg,
      rgba(14, 14, 14, 0.72) 0%,
      rgba(14, 14, 14, 0.12) 58%,
      rgba(14, 14, 14, 0) 100%
    ),
    url("images/hero-smoker.jpg") center 40% / cover no-repeat;
}
.hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  align-self: flex-start;
  padding-top: clamp(80px, 12vh, 140px);
}
.hero-mark {
  height: clamp(174px, 27vw, 354px);
  width: auto;
  margin-bottom: clamp(20px, 2.8vw, 32px);
}
.hero-title {
  max-width: 860px;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 7.4vw, 94px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.004em;
  color: var(--cream);
  text-wrap: balance;
}
.hero-body {
  max-width: 580px;
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: rgba(242, 239, 231, 0.85);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-ig {
  padding: 8px 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 231, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-ig:hover {
  color: var(--amber);
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  font-size: 14.5px;
  color: rgba(242, 239, 231, 0.6);
}
.hero-location img {
  height: 20px;
  width: auto;
  opacity: 0.95;
}

/* --------------------------------- story -------------------------------- */

.story {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(64px, 10vw, 140px) clamp(18px, 5vw, 64px);
}
.story .paper {
  opacity: 0.5;
}
.story-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  max-width: 1180px;
  margin: 0 auto;
}
.story-photo {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 400px;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(198, 162, 106, 0.2);
}
.story-copy {
  flex: 1.4 1 340px;
  min-width: 0;
}
.story-copy .section-title {
  margin-bottom: 26px;
}
.story-copy p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(242, 239, 231, 0.82);
}
.story-quote {
  margin: 30px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--amber);
}
.story-quote p {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  line-height: 1.25;
  color: var(--cream);
}
.story-quote span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--kraft);
}

/* --------------------------------- menu --------------------------------- */

.menu {
  background: var(--ink);
  padding: clamp(56px, 8vw, 120px) clamp(18px, 5vw, 64px) clamp(64px, 10vw, 140px);
}
.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.menu-head {
  margin-bottom: clamp(34px, 5vw, 56px);
  text-align: center;
}
.menu-head .section-title {
  font-size: clamp(32px, 5.4vw, 58px);
}
.menu-card {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(198, 162, 106, 0.42);
  border-radius: 4px;
  background: var(--panel);
  padding: clamp(26px, 4vw, 52px);
}
.menu-card .paper {
  opacity: 0.55;
}
.menu-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(34px, 5vw, 68px);
}
.menu-col-title {
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(198, 162, 106, 0.3);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--kraft);
}
.menu-item {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(198, 162, 106, 0.14);
}
.menu-col > .menu-item:last-of-type {
  border-bottom: none;
}
.menu-item--bordered {
  border-bottom: 1px solid rgba(198, 162, 106, 0.14) !important;
}
.menu-item-info {
  min-width: 0;
}
.menu-item-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.menu-item-desc {
  margin-top: 3px;
  font-size: 13.5px;
  color: rgba(242, 239, 231, 0.55);
}
.menu-leader {
  flex: 1;
  min-width: 20px;
  margin-bottom: 7px;
  border-bottom: 1px dotted rgba(198, 162, 106, 0.45);
}
.menu-price {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--amber);
}
.menu-price-suffix {
  font-size: 13px;
  color: rgba(242, 239, 231, 0.5);
}
.catering {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(212, 154, 44, 0.35);
  border-radius: 3px;
  background: rgba(212, 154, 44, 0.08);
}
.catering-title {
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.catering p {
  margin: 0 0 15px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 239, 231, 0.72);
}
.catering-cta {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(212, 154, 44, 0.5);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}
.catering-cta:hover {
  color: var(--amber-hover);
}
.menu-footnote {
  position: relative;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(198, 162, 106, 0.16);
  text-align: center;
  font-size: 13.5px;
  color: rgba(242, 239, 231, 0.5);
}

/* --------------------------------- order -------------------------------- */

.order {
  position: relative;
  border-top: 1px solid rgba(198, 162, 106, 0.14);
  background: var(--ink);
  padding: clamp(56px, 8vw, 120px) clamp(18px, 5vw, 64px);
}
.order-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.order-head {
  max-width: 660px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.order-head .section-title {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.8vw, 64px);
  line-height: 0.96;
}
.order-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(242, 239, 231, 0.78);
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: clamp(34px, 5vw, 64px);
}
.order-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(198, 162, 106, 0.14);
}
.order-step:first-child {
  padding-top: 0;
}
.order-step-n {
  flex: none;
  width: 30px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 154, 44, 0.9);
}
.order-step h3 {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.order-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(242, 239, 231, 0.7);
}
.order-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 239, 231, 0.55);
}
.order-cta {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(198, 162, 106, 0.26);
  border-radius: 4px;
  background: var(--panel);
}
.order-cta h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.order-cta > p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(242, 239, 231, 0.66);
}
.order-cta-note {
  margin: 14px 0 0 !important;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242, 239, 231, 0.55);
}

/* -------------------------------- footer -------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(198, 162, 106, 0.2);
  background: var(--ink);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px) 40px;
}
.site-footer .paper {
  opacity: 0.4;
}
.footer-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.footer-mark {
  height: clamp(116px, 15vw, 150px);
  width: auto;
  margin: 0 auto 18px;
}
.footer-tagline {
  margin: 0 0 34px;
  font-size: clamp(18px, 2.4vw, 23px);
  font-style: italic;
  color: rgba(242, 239, 231, 0.82);
}
.footer-email {
  margin-bottom: 18px;
  font-size: 15px;
}
.footer-email a {
  color: rgba(242, 239, 231, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email a:hover {
  color: var(--amber);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 26px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(242, 239, 231, 0.6);
}
.footer-meta a {
  color: rgba(242, 239, 231, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-meta a:hover {
  color: var(--amber);
}
.footer-dot {
  color: rgba(198, 162, 106, 0.5);
}
.footer-smoking {
  margin: 0 0 30px;
  font-size: 13.5px;
  color: rgba(242, 239, 231, 0.5);
}
.footer-copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(198, 162, 106, 0.16);
  font-family: var(--font-heading);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 231, 0.4);
}
