:root {
  --cream: #f5efe3;
  --paper: #fbf6ec;
  --ink: #151614;
  --muted: #5b5a53;
  --green: #253c29;
  --green-deep: #102a20;
  --sage: #a8b791;
  --red: #8c2424;
  --red-deep: #641a1d;
  --gold: #c9a968;
  --line: rgba(21, 22, 20, 0.15);
  --shadow: 0 20px 50px rgba(20, 14, 8, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header {
  align-items: center;
  background: linear-gradient(180deg, #fbf8ef, var(--cream));
  border-bottom: 1px solid rgba(21, 22, 20, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(190px, 280px) 1fr minmax(260px, 330px);
  min-height: 136px;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  line-height: 0.9;
  max-width: 245px;
  min-width: 190px;
  text-align: center;
}

.brand-script {
  color: var(--red-deep);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 4.05rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.brand-deli {
  color: #171717;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 2rem;
  line-height: 0.9;
  position: relative;
}

.brand-deli::before,
.brand-deli::after {
  background: var(--green);
  content: "";
  height: 2px;
  position: absolute;
  top: 50%;
  width: 52px;
}

.brand-deli::before {
  left: 0;
}

.brand-deli::after {
  right: 0;
}

.brand-place {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  margin-top: 8px;
  text-transform: uppercase;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: center;
}

.primary-nav a {
  color: #111;
  font-size: 0.91rem;
  font-weight: 800;
  padding: 9px 0;
  position: relative;
  text-transform: uppercase;
}

.primary-nav a::after {
  background: var(--red);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .active::after {
  transform: scaleX(1);
}

.header-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
}

.phone-link {
  align-items: center;
  color: #111;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 10px;
  white-space: nowrap;
}

.phone-link svg {
  height: 18px;
  width: 18px;
}

.order-button {
  align-items: center;
  background: var(--green);
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 900;
  gap: 12px;
  min-height: 51px;
  padding: 0 26px;
  text-transform: uppercase;
}

.order-button:hover,
.order-button:focus-visible {
  background: var(--green-deep);
}

.hero {
  background: #171a16;
  color: #fff;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.hero-media {
  background-image:
    linear-gradient(90deg, #171a16 0%, rgba(23, 26, 22, 0.84) 9%, rgba(23, 26, 22, 0.28) 34%, rgba(23, 26, 22, 0) 100%),
    url("assets/shellys-concept.png");
  background-position: right -10px top -138px;
  background-repeat: no-repeat;
  background-size: 1024px 1536px;
  inset: 0 0 0 32%;
  position: absolute;
}

.hero::after {
  background: var(--paper);
  bottom: -1px;
  clip-path: polygon(0 40%, 7% 56%, 14% 38%, 23% 50%, 31% 36%, 40% 48%, 51% 34%, 60% 46%, 69% 35%, 78% 52%, 88% 38%, 100% 49%, 100% 100%, 0 100%);
  content: "";
  height: 34px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
}

.hero-inner {
  margin: 0 auto;
  max-width: 1160px;
  padding: 74px 48px 92px;
  position: relative;
  z-index: 3;
}

.hero h1 {
  color: #fff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 4.35rem;
  font-weight: 900;
  line-height: 0.98;
  margin: 0;
  max-width: 520px;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero h1 span {
  display: block;
}

.hero .fresh-line {
  color: var(--sage);
}

.hero-rule {
  background: linear-gradient(90deg, var(--red) 0 64%, rgba(201, 169, 104, 0.35) 64% 100%);
  height: 3px;
  margin: 24px 0 20px;
  width: 320px;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  max-width: 455px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.button,
.full-menu-button,
.catering-copy a {
  align-items: center;
  border-radius: 5px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  text-transform: uppercase;
}

.button-red,
.full-menu-button {
  background: var(--red);
  color: #fff;
}

.button-red:hover,
.button-red:focus-visible,
.full-menu-button:hover,
.full-menu-button:focus-visible {
  background: var(--red-deep);
}

.button-outline {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button svg {
  height: 21px;
  width: 21px;
}

.promise-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 16px),
    var(--cream);
  border-bottom: 1px solid rgba(21, 22, 20, 0.08);
  padding: 34px 48px;
}

.promise-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.promise-item {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 52px 1fr;
  min-height: 86px;
  padding-right: 20px;
}

.promise-item:last-child {
  border-right: 0;
}

.promise-item svg {
  height: 45px;
  width: 45px;
}

.promise-item h2 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1rem;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.promise-item p {
  font-size: 0.9rem;
  margin: 0;
}

.menu-section {
  background: var(--paper);
  padding: 48px 48px 28px;
  text-align: center;
}

.section-kicker {
  color: var(--red-deep);
  font-size: 0.88rem;
  font-weight: 900;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.menu-section > h2,
.catering-copy h2,
.about-copy h2 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.menu-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 28px auto 24px;
  max-width: 1160px;
}

.menu-card {
  background: #161512;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(16, 13, 10, 0.18);
  color: #fff;
  display: grid;
  grid-template-rows: minmax(132px, 58%) 1fr;
  min-height: 226px;
  overflow: hidden;
}

.card-photo {
  background-image: url("assets/shellys-concept.png");
  background-repeat: no-repeat;
  background-size: 1280px 1920px;
  min-height: 132px;
}

.sandwich-photo {
  background-position: -54px -974px;
}

.salads-photo {
  background-position: -254px -974px;
}

.wraps-photo {
  background-position: -453px -974px;
}

.soups-photo {
  background-position: -649px -974px;
}

.treats-photo {
  background-position: -844px -974px;
}

.catering-photo-card {
  background-position: -1041px -974px;
}

.card-copy {
  background: linear-gradient(180deg, rgba(22, 21, 18, 0.75), #171512 38%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94px;
  padding: 14px 12px 18px;
}

.card-copy h3 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.26rem;
  line-height: 1.04;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.card-copy p {
  font-size: 0.84rem;
  margin: 0;
}

.full-menu-button {
  margin: 0 auto;
  min-width: 224px;
}

.story-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 28px;
}

.catering-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(260px, 1fr);
  min-height: 280px;
}

.catering-copy {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  padding: 48px 56px;
}

.catering-copy h2::after,
.about-copy h2::after {
  background: currentColor;
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  width: 42px;
}

.catering-copy p {
  font-size: 1rem;
  margin: 22px 0 28px;
  max-width: 340px;
}

.catering-copy a {
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #fff;
  min-height: 46px;
  padding: 0 20px;
}

.catering-copy a:hover,
.catering-copy a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.catering-copy a svg {
  height: 18px;
  width: 18px;
}

.catering-image {
  background-image: url("assets/shellys-concept.png");
  background-position: -354px -1335px;
  background-repeat: no-repeat;
  background-size: 1280px 1920px;
  min-height: 280px;
}

.about-panel {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251, 246, 236, 0.98) 0 58%, rgba(251, 246, 236, 0.74)),
    var(--cream);
  display: grid;
  grid-template-columns: minmax(255px, 1fr) minmax(190px, 0.9fr);
  min-height: 280px;
  padding: 44px 42px;
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-copy h2 {
  color: var(--green);
}

.about-copy h2::after {
  background: var(--red);
}

.about-copy p {
  margin: 22px 0 0;
  max-width: 340px;
}

.signature {
  color: var(--red);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.35rem;
  font-weight: 700;
}

.about-sketch {
  align-self: stretch;
  background-image: url("assets/shellys-concept.png");
  background-position: right -28px bottom -162px;
  background-repeat: no-repeat;
  background-size: 1024px 1536px;
  min-height: 166px;
  opacity: 0.7;
}

.contact-band {
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: #fff;
  padding: 30px 48px;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.contact-grid article {
  display: grid;
  gap: 16px;
  grid-template-columns: 35px 1fr;
  min-height: 100px;
}

.contact-grid article:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.34);
  padding-right: 28px;
}

.contact-grid h2,
.signup-copy h2 {
  font-size: 0.92rem;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.contact-grid p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-grid a {
  text-decoration: none;
}

.contact-grid a:hover,
.contact-grid a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.signup-row {
  align-items: center;
  background: var(--cream);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(280px, 1fr) minmax(190px, 0.8fr);
  padding: 28px 64px;
}

.signup-copy {
  justify-self: end;
  max-width: 280px;
}

.signup-copy p {
  font-size: 0.9rem;
  margin: 0;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 110px;
  margin: 0 auto;
  max-width: 420px;
  width: 100%;
}

.signup-form input {
  background: #fff;
  border: 1px solid #d5cdbf;
  border-radius: 6px 0 0 6px;
  min-height: 46px;
  min-width: 0;
  padding: 0 16px;
}

.signup-form button {
  background: var(--green);
  border: 0;
  border-radius: 0 6px 6px 0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  text-transform: uppercase;
}

.signup-form button:hover,
.signup-form button:focus-visible {
  background: var(--green-deep);
}

.social-links {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  gap: 20px;
  min-height: 58px;
  padding-left: 42px;
}

.social-links span {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links a {
  align-items: center;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-footer {
  align-items: center;
  background: #20201e;
  color: #fff;
  display: grid;
  font-size: 0.84rem;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  padding: 18px 64px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.site-footer nav {
  align-items: center;
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: inherit;
}

.site-footer p:last-child a {
  color: #c6d2a1;
}

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

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
    grid-template-columns: 230px 1fr;
    padding: 16px 32px;
  }

  .primary-nav {
    justify-content: end;
  }

  .header-actions {
    align-items: center;
    flex-direction: row;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
  }

  .story-section,
  .contact-grid,
  .signup-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-panel {
    grid-column: 1 / -1;
  }

  .contact-grid article:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .signup-row {
    padding: 28px 42px;
  }

  .signup-copy {
    justify-self: start;
  }

  .social-links {
    border-left: 0;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: auto;
    padding-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer p:last-child {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 20px 22px;
    position: relative;
  }

  .brand,
  .primary-nav,
  .header-actions {
    justify-self: center;
  }

  .primary-nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .primary-nav a {
    font-size: 0.82rem;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 590px;
  }

  .hero-media {
    background-position: right -265px top -118px;
    inset: 0;
    opacity: 0.78;
  }

  .hero-inner {
    padding: 76px 24px 92px;
  }

  .hero h1 {
    font-size: 3.15rem;
    max-width: 390px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 360px;
  }

  .hero-rule {
    width: 250px;
  }

  .promise-band,
  .menu-section,
  .contact-band {
    padding-left: 24px;
    padding-right: 24px;
  }

  .promise-grid,
  .contact-grid,
  .signup-row {
    grid-template-columns: 1fr;
  }

  .promise-item,
  .promise-item:last-child,
  .contact-grid article,
  .contact-grid article:not(:last-child) {
    border-right: 0;
    padding-right: 0;
  }

  .promise-item {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .promise-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-section,
  .catering-panel,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .catering-copy,
  .about-panel {
    padding: 38px 28px;
  }

  .about-sketch {
    min-height: 190px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form input,
  .signup-form button {
    border-radius: 6px;
  }

  .signup-form button {
    margin-top: 10px;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 220px;
  }

  .brand-script {
    font-size: 3.45rem;
  }

  .brand-deli {
    font-size: 1.72rem;
  }

  .brand-deli::before,
  .brand-deli::after {
    width: 42px;
  }

  .order-button {
    width: 100%;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 2.52rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 270px;
  }

  .menu-section > h2,
  .catering-copy h2,
  .about-copy h2 {
    font-size: 1.68rem;
  }

  .contact-grid article {
    grid-template-columns: 30px 1fr;
  }

  .signup-row {
    gap: 24px;
    padding: 28px 24px;
  }

  .site-footer {
    padding: 22px 24px;
  }

  .site-footer nav {
    gap: 14px;
  }
}
