@import url('https://fonts.googleapis.com/css2?family=Coming+Soon&family=Shadows+Into+Light&display=swap');

:root {
  --ink: #111;
  --paper: #fff;
  --display: "Shadows Into Light", "Segoe Print", "Bradley Hand", cursive;
  --hand: "Coming Soon", "Segoe Print", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 15px;
  letter-spacing: .055em;
}

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

.header {
  width: min(100% - 58px, 1120px);
  margin: 0 auto;
  min-height: 172px;
  padding-top: 33px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(34px, 4.3vw, 52px);
  letter-spacing: .13em;
  white-space: nowrap;
}

.brand-sub {
  padding: 10px 0 0 30px;
  font-size: 13px;
  letter-spacing: .28em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 43px;
  padding-top: 12px;
  font-size: 14px;
  letter-spacing: .18em;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-bottom-color: var(--ink);
}

main {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 31.3% 30.2% 38.5%;
  grid-template-rows: 460px 225px;
  grid-template-areas:
    "copy copy tall"
    "foc coffee tall";
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 28px 0;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 8.1vw, 92px);
  line-height: .96;
  letter-spacing: .10em;
}

.hero-offer {
  margin: 41px 0 0;
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: .27em;
}

.hero-tagline {
  margin: 60px 0 0;
  font-size: 18px;
  letter-spacing: .16em;
}

.hero-photo,
.small-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-photo { grid-area: tall; }
.focaccia-photo { grid-area: foc; }
.coffee-photo { grid-area: coffee; }

.menu-grid {
  display: grid;
  grid-template-columns: 1.26fr 1fr 1fr;
  gap: 70px;
  padding: 43px 36px 33px;
}

.menu-column h2 {
  width: fit-content;
  margin: 0 0 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: .10em;
  line-height: 1;
}

.menu-column .subheading {
  margin-top: 38px;
}

.menu-column h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.5;
}

.menu-column p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .04em;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 21px;
}

.menu-item > span {
  font-size: 13px;
  padding-bottom: 2px;
  white-space: nowrap;
}

.menu-item.compact {
  margin-bottom: 8px;
  align-items: baseline;
}

.menu-item.compact h3,
.menu-item.compact p {
  margin: 0;
}

.bastardo-extra {
  margin: 23px 0 0;
}

.aperitivo {
  margin-top: 29px;
  padding: 13px 13px 7px;
  border: 1px solid var(--ink);
}

.aperitivo h3 {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: .10em;
}

.aperitivo .menu-item {
  margin: 7px 0 0;
}

.menu-column hr {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 24px 0 20px;
}

.info p {
  margin: 0 0 13px;
  font-size: 13px;
  letter-spacing: .05em;
}

.footer {
  width: min(100% - 58px, 1060px);
  margin: 0 auto;
  padding: 21px 5px 33px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: .10em;
}

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

@media (max-width: 760px) {
  .header {
    width: calc(100% - 30px);
    min-height: auto;
    padding: 25px 0 30px;
    display: block;
  }

  .brand-name {
    font-size: 39px;
  }

  .brand-sub {
    padding-left: 6px;
    font-size: 10px;
  }

  .nav {
    margin-top: 28px;
    gap: 24px;
    padding: 0;
    font-size: 12px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 520px 190px;
    grid-template-areas:
      "copy copy"
      "tall tall"
      "foc coffee";
  }

  .hero-copy {
    padding: 50px 20px 58px;
  }

  .hero-copy h1 {
    font-size: clamp(53px, 17vw, 80px);
  }

  .hero-offer {
    margin-top: 33px;
    font-size: 16px;
  }

  .hero-tagline {
    margin-top: 42px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 43px;
    padding: 44px 25px;
  }

  .footer {
    width: calc(100% - 50px);
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 430px) {
  .hero {
    grid-template-rows: auto 410px 150px;
  }

  .hero-copy h1 {
    letter-spacing: .06em;
  }

  .hero-offer {
    letter-spacing: .18em;
  }
}

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