/* Franklin Barbecue design system: components.
   Only what the home page uses, each with its states. Added one at a time. */

/* ANNOUNCEMENT BAR
   Use when: one timely message across the top of every page (the live one books holiday parties).
   Not when: the message is permanent; put it in a band instead. */
.announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: var(--space-2xs) 56px;
  background: var(--color-ember);
  color: var(--color-on-dark);
  text-align: center;
}
.announce__link {
  font-family: var(--font-script);
  font-size: var(--size-announce);
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
}
.announce__link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.announce__link:focus-visible, .announce__close:focus-visible { outline-color: var(--color-focus-on-dark); }
.announce__close {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
}
.announce__close:hover { opacity: 0.75; }
@media (min-width: 768px) {
  .announce { min-height: 76px; }
  .announce__close { width: 74px; height: 74px; }
}

/* ARROW BUTTON (the signature move)
   A square orange block with a tall arrow head that points past it, set in the display face
   (or the script face in the header). Measured: arrow head 30 px deep, 100 px tall.
   Use when: the one action of a band (Learn More, Buy Now, Sign Up, Order in Advance).
   Not when: several actions sit together, or inside a card; use the block button. */
.arrow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-right: var(--arrow-depth);
  padding: 16px 20.8px;
  border: 0;
  background: var(--color-orange);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: var(--size-button);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--speed) var(--ease);
}
.arrow-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top: calc(var(--arrow-height) / 2) solid transparent;
  border-bottom: calc(var(--arrow-height) / 2) solid transparent;
  border-left: var(--arrow-depth) solid var(--btn-bg, var(--color-orange));
  transition: border-color var(--speed) var(--ease);
}
.arrow-btn { --btn-bg: var(--color-orange); background: var(--btn-bg); }
.arrow-btn:hover { --btn-bg: #cf5f24; }             /* orange, one step darker: white on it 3.9:1 */
.arrow-btn:active { transform: translateY(1px); }
.arrow-btn:disabled, .arrow-btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
/* Teal variant: on the orange band (Buy Now) */
.arrow-btn--teal { --btn-bg: var(--color-teal); }
.arrow-btn--teal:hover { --btn-bg: #49b0a9; }
/* Script variant: the header's Order in Advance */
.arrow-btn--script {
  font-family: var(--font-script);
  font-size: var(--size-cta);
  text-transform: none;
  padding: 8px 16px;
  min-height: 54px;
}
@media (min-width: 768px) {
  .arrow-btn--script { min-height: 58px; }
}

/* BLOCK BUTTON
   Full-width orange bar with small display caps. Use when: the action closes a card (More info).
   Not when: it is the band's main action; use the arrow button. */
.block-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 49px;
  padding: 16px 20.8px;
  background: var(--color-orange);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: var(--size-button-s);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--speed) var(--ease);
}
.block-btn:hover { background: #cf5f24; }
.block-btn:active { transform: translateY(1px); }

/* SITE HEADER
   Logo left, the six links in the display face, the order button right. At 1440 one row;
   at 390 the logo and the button share the top row and the links run beneath in one line.
   Use when: every page. Not when: never replaced by a menu button; the links fit at 390. */
.site-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "logo cta" "nav nav";
  align-items: center;
  padding: 0 0 6px 8px;
  background: var(--color-cream);
}
.site-header__logo { grid-area: logo; display: block; width: 120px; padding-top: 24px; }
.site-header__logo img { width: 100%; }
.site-header__cta { grid-area: cta; justify-self: end; margin-right: 45px; }
.site-nav { grid-area: nav; padding-top: 24px; }
.site-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--size-nav);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.site-nav__icon { display: none; width: 30px; height: auto; }
/* The Ship folder: opens on hover, on focus and on a press */
.site-nav__folder {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  display: none;
  min-width: max-content;
  margin: 0;
  padding: 9.36px 18.72px;
  border: 1px solid var(--color-black);
  background: var(--color-cream);
  list-style: none;
  text-align: left;
}
.site-nav__item:hover > .site-nav__folder,
.site-nav__item:focus-within > .site-nav__folder,
.site-nav__item.is-open > .site-nav__folder { display: block; }
.site-nav__folder a {
  display: block;
  padding: 1.87px 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 18.72px;
  line-height: 24.34px;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav__folder a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 768px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav cta";
    min-height: 135px;
    padding: 0 0 0 var(--gutter);
  }
  .site-header__logo { width: 161px; padding-top: 0; }
  .site-header__cta { margin-right: 89px; }
  .site-nav { padding-top: 0; }
  .site-nav__list { gap: 0 30px; }
  .site-nav__icon { display: block; }
  .site-nav__folder { left: 0; right: auto; }
}

/* PHOTO
   Food and people photos, cropped to fill their box. Rounded 50 px on content photos;
   square-edged when full-bleed (the hero tray, the gallery).
   Use when: any photo in a band. Not when: a logo or the gift card art; those keep their own shape. */
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--round { border-radius: var(--radius-photo); }

/* PRESS QUOTE
   A quote from the press in the display face, credited in the script face below, right of center.
   Use when: a published line about the restaurant, word for word. Not when: a customer review. */
.press-quote { text-align: center; }
.press-quote__text { color: var(--color-ink); }
.press-quote__credit {
  display: block;
  margin-top: 12px;
  color: var(--color-ink-soft);
  font-style: normal;
  text-align: right;
}

/* INFO BLOCK
   Orange display heading, a short orange rule, a script line in soft ink, then the facts
   (address, phone, hours) in display caps. Use when: location and hours. Not when: long text. */
.info-block__title { color: var(--color-heading-on-cream); font-size: var(--size-heading-m); line-height: var(--leading-heading); }
.info-block__rule {
  width: 100%;
  height: var(--rule-weight);
  margin: 8px 0 15px;
  border: 0;
  background: var(--color-rule);
}
.info-block__tagline { color: var(--color-ink-soft); }
.info-block__facts {
  margin-top: 22px;
  color: var(--color-ink);
  font-size: var(--size-label);
  line-height: var(--leading-label);
}
.info-block__facts a { text-decoration: none; }
.info-block__facts a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
@media (min-width: 768px) {
  .info-block__rule { width: 216px; margin: 14px 0 20px; }
  .info-block__facts { margin-top: 18px; }
}

/* EVENT CARD
   Photo, orange display title, centered Georgia text, an optional block button.
   Laid three to a row at 1440 (two are on the page), one to a row at 390.
   Use when: events and announcements. Not when: the item has no photo. */
.event-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.event-card { text-align: center; }
.event-card__photo { aspect-ratio: 328 / 220; }
.event-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.event-card__title {
  margin: 23px 0 23px;
  color: var(--color-heading-on-cream);
  font-size: var(--size-heading-s);
  line-height: var(--leading-display);
}
.event-card__text p + p { margin-top: 16px; }
.event-card__text { margin-bottom: 24px; }
@media (min-width: 768px) {
  .event-list { grid-template-columns: repeat(3, 1fr); column-gap: 130px; }
}

/* VISIT PANEL
   A teal panel with 50 px corners floating on cream, white display heading and short lines
   of practical advice, a rounded photo beside. Use when: what a first-time visitor must know.
   Not when: the band is already teal; the panel only reads on cream. */
.visit-panel {
  border-radius: var(--radius-photo);
  background: var(--color-teal);
  color: var(--color-on-dark);
}
.visit-panel__title { font-size: var(--size-display-xl); line-height: var(--leading-tight); }
.visit-panel__lines p + p { margin-top: 0.62em; }

/* GALLERY CAROUSEL
   Full-bleed photo reel, one photo at its own shape centered with its neighbors showing at the edges,
   white square arrow buttons left and right. Swipes on a phone; the arrows step one photo.
   Use when: a run of photos with no words. Not when: the photos need captions. */
.carousel { position: relative; --slide-h: calc(472.5px + 30.38vw); }
.carousel__track {
  display: flex;
  height: var(--slide-h);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 auto;
  height: 100%;
  scroll-snap-align: center;
}
.carousel__slide img { width: auto; max-width: none; height: 100%; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-black);
  transition: background-color var(--speed) var(--ease);
}
.carousel__btn:hover { background: var(--color-white); }
.carousel__btn svg { width: 28px; height: 28px; }
.carousel__btn--prev { left: 15px; }
.carousel__btn--next { right: 15px; }

/* SIGNUP FORM
   Display heading, a script line, one white email field, the arrow button, and a status line
   that says what happened. Use when: the email list. Not when: a longer inquiry; that needs labels shown.
   States: rest, hover, focus (ring), invalid (orange-red edge and the message in the status line), sending (button off). */
.signup__title { font-size: var(--size-heading-m); line-height: var(--leading-open); }
.signup__intro { margin-top: 18px; font-family: var(--font-script); font-size: var(--size-body); line-height: var(--leading-text); }
.signup__form { margin-top: 48px; }
.field {
  display: block;
  width: 100%;
  max-width: 310px;
  min-height: 66px;
  padding: 22.4px 32px;
  border: 1px solid var(--color-field-border);
  border-radius: var(--radius-none);
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-text);
  font-size: var(--size-body);
  line-height: 1;
}
.field::placeholder { color: var(--color-placeholder); opacity: 1; }
.field:hover { border-color: rgba(0, 0, 0, 0.4); }
.field:focus-visible { outline: var(--focus-ring) solid var(--color-focus); outline-offset: 2px; }
.field[aria-invalid="true"] { border: 2px solid var(--color-ember); }
.signup__button { margin-top: 32px; padding: 22.4px 32px; line-height: 19.2px; }
.form-status { min-height: 1.5em; margin-top: 28px; font-family: var(--font-text); font-size: var(--size-body-s); line-height: var(--leading-text); }
.form-status:empty { margin-top: 0; }
@media (min-width: 768px) {
  .signup__intro { margin-top: 14px; }
  .signup__form { margin-top: 32px; }
  .field { min-height: 69px; }
}

/* SITE FOOTER
   Black band: teal display headings over cream Georgia columns (restaurant, private dining,
   links), the teal-and-orange wordmark, round white social icons, the copyright line.
   Use when: every page. Not when: never restyled per page. */
.site-footer { background: var(--color-black); color: var(--color-on-black); }
.site-footer__heading {
  margin-bottom: 32px;
  color: var(--color-teal);
  font-size: var(--size-label);
  line-height: var(--leading-label);
}
.site-footer__col { font-size: var(--size-body-s); line-height: var(--leading-text); }
.site-footer__col p + p { margin-top: 24px; }
.site-footer__col ul { margin: 0; padding: 0; list-style: none; }
.site-footer__col a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3.2px; }
.site-footer__col a:hover { color: var(--color-teal); }
.site-footer__copy { font-size: var(--size-fine); line-height: var(--leading-solid); }

/* Social icons: white circles, black marks */
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background: var(--color-white);
  color: var(--color-black);
  transition: background-color var(--speed) var(--ease);
}
.social a:hover { background: var(--color-teal); }
.social a:focus-visible { outline-color: var(--color-focus-on-dark); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer :focus-visible { outline-color: var(--color-focus-on-dark); }

/* MAP LINK
   Stands where the live site embeds a Google map (an outside frame this site cannot carry):
   the space the map takes, with one plain link that opens the map.
   Use when: a location band needs its map. Not when: an address alone will do. */
.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--size-label);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.map-link:hover { color: var(--color-orange); }
