/* Food You Again. Static stylesheet, authored for this build. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Homemade Apple";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/homemade-apple-latin.woff2") format("woff2");
}

/* Palette: paper #ffffff, petrol teal #004355, slate teal #274250, cream #f5efe6. */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 66px; }
[id] { scroll-margin-top: 66px; }

body {
  margin: 0;
  background: #ffffff;
  color: #004355;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }

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

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid #004355; outline-offset: 3px; }

h1, h2, h3, p, figure { margin: 0; }

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

/* Fixed top utility bar (#274250, 42px tall) */
.util-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 42px; background: #274250; color: #ffffff;
}
.util-inner {
  width: min(100% - 80px, 1280px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: flex-end;
}
.util-link {
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: #ffffff;
  padding: 6px 0 6px 16px;
}
.util-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Fixed circular badge top-right (140px, #004355, thin cream inner ring) */
.badge {
  position: fixed; top: 62px; right: max(40px, calc((100% - 1280px) / 2)); z-index: 45;
  width: 136px; height: 136px; border-radius: 50%;
  background: #004355; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  padding: 9px;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.badge:hover { transform: scale(1.04); }
.badge-ring {
  width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid #f5efe6;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 12px;
}
.badge-text {
  font-family: "Jost", sans-serif;
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.22;
  transform: rotate(-8deg);
}

/* Fixed rotated torn white paper tape strip bottom-left */
.tape-nav {
  position: fixed; left: 20px; bottom: 22px; z-index: 25;
  max-width: 240px;
  color: #111111;
  padding: 10px 22px 8px 18px;
  display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap;
  transform: rotate(-1.8deg);
  filter: drop-shadow(0 2px 6px rgba(0, 42, 54, 0.22)) drop-shadow(0 0 1px rgba(0, 42, 54, 0.38)); /* taste-skill-ignore */
}
.tape-nav::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: #ffffff;
  z-index: -1;
  clip-path: polygon(
    0% 4%, 98% 0%, 100% 14%, 97% 28%, 100% 42%, 96% 58%, 100% 73%, 97% 88%, 99% 100%,
    2% 98%, 0% 84%, 3% 68%, 0% 52%, 2% 36%, 0% 20%
  );
}
.tape-nav a {
  font-family: "Homemade Apple", cursive;
  font-size: 0.875rem; line-height: 1.3;
  color: #111111;
  white-space: nowrap;
  transition: color 180ms ease-out;
}
.tape-nav a:hover { color: #004355; }

/* Full-bleed hero with soft top gradient and white wide-tracked wordmark */
.hero {
  position: relative; width: 100%; height: 858px;
  margin-top: 42px; overflow: hidden; background: #274250;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.65) 0%, rgba(24, 24, 24, 0.25) 34%, rgba(24, 24, 24, 0) 68%); /* taste-skill-ignore */
}
.hero-top {
  position: relative; z-index: 2;
  width: min(100% - 80px, 1280px); margin-inline: auto;
  padding-top: 46px;
}
.wordmark {
  font-family: "Jost", sans-serif;
  font-size: clamp(2.25rem, 4.8vw, 4.375rem); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; line-height: 1.05;
  color: #ffffff;
  max-width: 18ch;
}

/* White space & narrow columns */
.story { padding: 72px 0 92px; background: #ffffff; }
.col-center {
  width: min(100% - 48px, 500px); margin-inline: auto;
  text-align: center;
}
.col-wide {
  width: min(100% - 80px, 1280px); margin-inline: auto;
}

.caps-head {
  font-family: "Jost", sans-serif;
  font-size: 1.125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; line-height: 1.4;
  color: #004355;
  margin-bottom: 22px;
}
.caps-head.left { text-align: left; }

.serif-lead {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.5rem; font-weight: 600;
  line-height: 1.38; color: #004355;
  margin-bottom: 22px;
}
.serif-lead.left { text-align: left; }
.serif-lead.light { color: #ffffff; }

.serif-body {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.125rem; font-weight: 400;
  line-height: 1.72; color: #004355;
  max-width: 54ch; margin-inline: auto;
}
.serif-body + .serif-body { margin-top: 16px; }
.serif-body.left { text-align: left; margin-inline: 0; }
.serif-body.light { color: #ffffff; }
.serif-body.light a { text-decoration: underline; text-underline-offset: 4px; }

.serif-quote {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic; font-size: 1.25rem; line-height: 1.55;
  color: #004355; margin-top: 28px;
}
.serif-cite {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: normal; font-size: 1.125rem; line-height: 1.55;
  color: #004355; margin-top: 6px;
}
.serif-quote.left, .serif-cite.left { text-align: left; }

/* Square teal buttons & tracked underline links */
.btn-row { margin-top: 34px; }
.btn-teal, .btn-cream {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 34px;
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  border-radius: 0; border: 0; cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}
.btn-teal { background: #004355; color: #ffffff; }
.btn-teal:hover { background: #274250; }
.btn-cream { background: #ffffff; color: #004355; }
.btn-cream:hover { background: #f5efe6; }
.btn-teal:active, .btn-cream:active { transform: translateY(2px); }

.link-row { margin-top: 26px; }
.link-under {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: #004355;
  padding-bottom: 5px;
  border-bottom: 2px solid #004355;
}

/* Split half-width photography + narrow left-aligned serif column */
.split-photo { padding: 40px 0 120px; background: #ffffff; }
.split-grid {
  width: min(100% - 80px, 1280px); margin-inline: auto;
  display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center;
  padding-right: 176px;
}
.split-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split-copy { width: 100%; }

/* Menu-board & tabbed sections */
.pillars-sec { padding: 20px 0 110px; background: #ffffff; }
.tabs-sec { padding: 80px 0 130px; background: #ffffff; }

.tab-bar {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 18px 38px;
  max-width: 820px;
  margin: 44px auto 46px;
}
.tab-item {
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: #004355;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease-out, border-color 180ms ease-out;
}
.tab-item.active, .tab-item:hover {
  color: #004355;
  border-bottom-color: #004355;
}

.menu-board {
  max-width: 500px; margin: 0 auto 54px;
  text-align: center;
  display: grid; gap: 18px;
}
.menu-board.left {
  text-align: left; margin: 26px 0 0; max-width: 100%;
}
.board-line {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.25rem; line-height: 1.6;
  color: #004355;
}
.board-line.left { text-align: left; }
.board-line strong { font-weight: 700; }

.tab-stage {
  width: 100%; margin-inline: auto;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Full-bleed two-photo pair */
.bleed-pair {
  display: grid; grid-template-columns: 1fr 1fr; width: 100%;
}
.bleed-half img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Solid petrol teal band near bottom */
.band-teal {
  background: #004355; color: #ffffff;
  padding: 110px 0 96px;
}
.band-teal .caps-head { color: #ffffff; }

/* Solid petrol teal footer with double-rule three-column panel */
.foot-teal {
  background: #004355; color: #ffffff;
  padding: 20px 0 96px;
}
.foot-frame {
  width: min(100% - 560px, 880px); margin-inline: auto;
  border: 4px double rgba(255, 255, 255, 0.85);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.foot-col {
  padding: 40px 24px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.foot-col + .foot-col {
  border-left: 1px solid rgba(255, 255, 255, 0.55); /* taste-skill-ignore */
}
.foot-head {
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em; line-height: 1.4;
  color: #ffffff; margin-bottom: 6px;
}
.foot-col p {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.125rem; line-height: 1.6;
  color: #ffffff;
}
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot-meta {
  width: min(100% - 160px, 1280px); margin: 32px auto 0;
  padding-left: 220px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px;
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem; letter-spacing: 0.08em;
  color: #ffffff;
}
.site-credit { font-weight: 500; letter-spacing: 0.14em; }

/* Subtle motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: slowDrift 22s ease-in-out infinite alternate; }
  html.js [data-reveal] {
    transform: translateY(14px);
    transition: transform 520ms cubic-bezier(.2,.7,.2,1);
  }
  html.js [data-reveal].in { transform: none; }
  html.js [data-reveal="2"] { transition-delay: 80ms; }
  html.js [data-reveal="3"] { transition-delay: 160ms; }
  html.js [data-reveal="4"] { transition-delay: 240ms; }
}
@keyframes slowDrift { from { transform: scale(1.01); } to { transform: scale(1.06); } }

/* Page-specific desktop spacing so scroll steps never land inside text bands */
.spotlight-feed:empty { display: none; }
.page-services .hero { height: 780px; }
.page-services .story { padding: 62px 0 90px; }
.page-services .split-photo { padding: 38px 0 112px; }
.page-services .pillars-sec { padding: 38px 0 64px; }
.page-services .tabs-sec { padding: 72px 0 74px; }
.page-services .tab-bar { margin: 44px auto 64px; }
.page-services .band-teal { padding: 90px 0 110px; }

@media (min-width: 1025px) {
  .page-home #about .serif-lead { margin-top: 72px; }
  .page-home .split-copy .serif-body.left:first-child { margin-top: 154px; }
  .page-home .tabs-sec .tab-bar { margin-top: 108px; }

  .page-services #catering .serif-lead { margin-top: 88px; }
  .page-services #catering .btn-row { margin-top: 104px; }
  .page-services #philosophy .serif-lead.left { margin-top: 45px; }
  .page-services #philosophy .serif-body.left:nth-of-type(3) { margin-top: 38px; }
  .page-services #philosophy .serif-quote.left { margin-top: 96px; }
  .page-services .pillars-sec .board-line:nth-of-type(1) { margin-top: 34px; }
  .page-services .pillars-sec .board-line:nth-of-type(3) { margin-top: 86px; }
  .page-services #services-offer .tab-bar { margin-top: 86px; }
  .page-services #serv-corp { margin-top: 33px; }
  .page-services #serv-custom { margin-top: 54px; }
  .page-services #prepared-meals .split-copy > p.caps-head.left { margin-top: 60px; }
  .page-services #prepared-meals .menu-board.left .board-line.left:first-child { margin-top: 23px; }
  .page-services #prepared-meals .serif-quote.left { margin-top: 41px; }
  .page-services #menus-title { margin-top: 42px; }
  .page-services #menus .menu-board.left .board-line.left { margin-top: 198px; }
  .page-services #contact .serif-body.light:nth-of-type(3) { margin-top: 40px; }
  .page-services .foot-teal { padding-top: 76px; padding-bottom: 118px; }

  .page-spotlight #spotlight-title { margin-top: 67px; }
}

/* Tablet */
@media (max-width: 1024px) {
  .badge {
    position: absolute;
    top: 56px; right: 24px;
    width: 104px; height: 104px; padding: 6px;
  }
  .tape-nav {
    position: absolute;
    left: 24px; right: auto; bottom: 24px; top: auto;
  }
  .split-grid { grid-template-columns: 1fr; gap: 40px; padding-right: 0; }
  .split-copy { padding-right: 0; }
  .split-fig img, .tab-panel img { width: 100%; margin-left: 0; }
  .foot-frame { grid-template-columns: 1fr; width: min(100% - 80px, 680px); }
  .foot-meta { width: min(100% - 80px, 680px); padding-left: 0; }
  .foot-col + .foot-col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.55); /* taste-skill-ignore */ }
}

/* Mobile (390px) */
@media (max-width: 720px) {
  .util-inner { width: calc(100% - 40px); }
  .badge {
    position: absolute;
    top: 56px; right: 20px;
    width: 90px; height: 90px; padding: 6px;
  }
  .badge-ring { padding: 5px; }
  .badge-text { font-size: 0.75rem; letter-spacing: 0.08em; }

  .tape-nav {
    position: absolute;
    left: 20px; right: 20px; top: 560px; bottom: auto;
    max-width: none;
    padding: 8px 18px; gap: 4px 16px;
    justify-content: center; flex-wrap: wrap;
    transform: rotate(-1.2deg);
  }
  .tape-nav a { font-size: 0.8125rem; line-height: 1.3; }

  .hero, .page-services .hero { height: 690px; }
  .hero-top { width: calc(100% - 40px); padding-top: 28px; }
  .wordmark {
    font-size: 1.75rem; letter-spacing: 0.14em;
    max-width: 11ch;
  }

  .story { padding: 112px 0 68px; }
  .col-center, .col-wide, .split-grid, .foot-frame, .foot-meta {
    width: calc(100% - 40px);
  }
  .serif-lead { font-size: 1.375rem; }
  .split-photo { padding: 24px 0 70px; }
  .pillars-sec { padding: 10px 0 68px; }
  .tabs-sec { padding: 52px 0 80px; }
  .tab-bar { gap: 12px 20px; margin: 28px auto 32px; }
  .bleed-pair { grid-template-columns: 1fr; }
  .band-teal { padding: 162px 0 68px; }
  .foot-teal { padding: 48px 0 32px; }
  .foot-col { padding: 28px 20px; }
  .foot-meta { flex-direction: column; text-align: center; }

  .page-home #about .btn-row { margin-top: 111px; }
  .page-home .split-copy .serif-body.left:first-child { margin-top: 96px; }
  .page-home #connect-title { margin-top: 23px; }

  .page-services .story { padding: 112px 0 68px; }
  .page-services .split-photo { padding: 24px 0 56px; }
  .page-services .pillars-sec { padding: 36px 0 64px; }
  .page-services .tabs-sec { padding: 52px 0 64px; }
  .page-services .band-teal { padding: 64px 0 68px; }
  .page-services .foot-teal { padding: 48px 0 32px; }

  .page-services #catering .serif-body { margin-top: 49px; }
  .page-services #catering .btn-row { margin-top: 130px; }
  .page-services #philosophy .serif-lead.left { margin-top: 72px; }
  .page-services #philosophy .serif-body.left:nth-of-type(2) { margin-top: 217px; }
  .page-services #philosophy .serif-body.left:nth-of-type(3) { margin-top: 65px; }
  .page-services #philosophy .serif-quote.left { margin-top: 65px; }
  .page-services .pillars-sec .board-line:nth-of-type(1) { margin-top: 61px; }
  .page-services .pillars-sec .board-line:nth-of-type(3) { margin-top: 54px; }
  .page-services #serv-exec { margin-top: 101px; }
  .page-services #serv-corp { margin-top: 104px; }
  .page-services #serv-family { margin-top: 104px; }
  .page-services #serv-custom { margin-top: 136px; }
  .page-services #services-offer .serif-quote { margin-top: 105px; }
  .page-services #prepared-meals-title { margin-top: 72px; }
  .page-services #prepared-meals .serif-body.left { margin-top: 120px; }
  .page-services #prepared-meals .menu-board.left .board-line.left:nth-of-type(1) { margin-top: 132px; }
  .page-services #prepared-meals .menu-board.left .board-line.left:nth-of-type(2) { margin-top: 136px; }
  .page-services #prepared-meals .serif-quote.left { margin-top: 123px; }
  .page-services #menus .menu-board.left .board-line.left { margin-top: 47px; }
  .page-services #classes-title { margin-top: 19px; }
  .page-services #contact .serif-lead.light { margin-top: 78px; }
  .page-services #contact .btn-row { margin-top: 59px; }

  .page-spotlight #spotlight-title { margin-top: 13px; }
  .page-spotlight #connect-title { margin-top: 37px; }
}
