/*
  Brennan Poultry - one stylesheet, mobile first.
  1. Tokens  2. Base  3. Layout  4. Components  5. Media queries
*/

/* 1. Tokens */
:root {
  color-scheme: light;

  --red: #c4161c; /* sign red: headings, prices, primary button, stripe */
  --red-deep: #9e1015; /* hover / active on red */
  --ink: #1a1a1a; /* sign black: text, rules, footer */
  --white: #ffffff; /* header, cards (GIFs have white mattes) */
  --paper: #faf7f0; /* page background */
  --paper-2: #f1ebdd; /* prices band */
  --muted: #5c5650; /* units, notes */
  --rule: #cfc4ac; /* decorative hairlines only */

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display:
    "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui,
    sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  --container: 65rem;
  --gutter: 1rem;
  --radius: 6px;
  --tap: 3rem;
}

/* 2. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
ul,
address {
  margin: 0;
}

h2 {
  margin-bottom: var(--space-4);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: var(--space-2);
  background: var(--ink);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

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

a {
  color: var(--red);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--red-deep);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* 3. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-5) 0;
}

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

/* 4. Components */

/* Header */
.site-header {
  background: var(--white);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.brand__hen {
  width: 4rem;
}

.brand__logo {
  width: 11.25rem;
}

/* Sign-style band: ink rule over a red stripe carrying the slogan */
.stripe {
  margin: 0;
  padding: var(--space-1) var(--gutter);
  border-top: 4px solid var(--ink);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.jump-nav {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.jump-nav ul {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  list-style: none;
}

.jump-nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--space-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.jump-nav a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Buttons (phone links) */
.btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  min-height: 4rem;
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
}

.btn__label {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn__number {
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.btn--primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:active {
  border-color: var(--red-deep);
  background: var(--red-deep);
  color: var(--white);
}

.btn--outline {
  background: var(--white);
  color: var(--ink);
}

.btn--outline:hover,
.btn--outline:active {
  background: var(--ink);
  color: var(--white);
}

/* Prices */
.price-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.price-card {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card__img {
  width: 100%;
  height: 6.5rem;
  object-fit: contain;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price-card__price {
  color: var(--red);
  font-weight: 600;
  line-height: 1.2;
}

.price-card__price strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-variant-numeric: tabular-nums;
}

.price-card__note {
  color: var(--muted);
  font-size: 1rem;
}

.additionals-title {
  margin: var(--space-5) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.additionals {
  width: 100%;
  max-width: 30rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.additionals th,
.additionals td {
  padding: var(--space-2) 0;
  border-bottom: 2px dotted var(--rule);
}

.additionals th {
  font-weight: 400;
  text-align: left;
}

.additionals td {
  color: var(--red);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* Contact */
.contact {
  display: grid;
  gap: var(--space-5);
}

.contact__names {
  margin-bottom: var(--space-2);
}

.contact__booking {
  margin-top: var(--space-3);
}

.contact__phone-label {
  margin-top: var(--space-3);
  font-weight: 600;
}

.phone-list {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: 0;
  list-style: none;
}

.contact__address {
  margin-top: var(--space-4);
  font-style: normal;
  font-weight: 600;
}

.contact__directions a {
  display: inline-block;
  min-height: var(--tap);
  padding: var(--space-2) 0;
  font-weight: 600;
}

.contact__map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

/* About */
.section--about {
  border-top: 1px solid var(--rule);
}

.about {
  display: grid;
  gap: var(--space-4);
}

.about__text p {
  max-width: 65ch;
}

.about__sign {
  justify-self: center;
  width: 300px;
  padding: var(--space-2);
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.25);
}

/* Footer */
.site-footer {
  padding: var(--space-4) 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-1);
  text-align: center;
}

.site-footer a {
  display: inline-block;
  padding: var(--space-2) 0;
  color: var(--paper);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer :focus-visible {
  outline-color: var(--paper);
}

/* 5. Media queries */
@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }

  .price-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card {
    grid-template-columns: 1fr;
    align-content: start;
    text-align: center;
  }

  .price-card__img {
    height: 9.5rem;
  }

  .phone-list {
    max-width: 26rem;
  }
}

@media (min-width: 60rem) {
  h2 {
    font-size: 2.5rem;
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand__hen {
    width: 5.5rem;
  }

  .brand__logo {
    width: 15rem;
  }

  .site-header__call {
    min-width: 20rem;
  }

  .jump-nav ul {
    justify-content: flex-start;
  }

  .price-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact {
    grid-template-columns: 28rem 1fr;
    align-items: start;
  }

  .contact__map {
    aspect-ratio: 16 / 10;
  }

  .about {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: var(--space-5);
  }

  .site-footer__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: var(--space-5);
    align-items: center;
    text-align: left;
  }
}

@media print {
  .jump-nav,
  .contact__map,
  .stripe {
    display: none;
  }
}
