@font-face { font-family: "Pirata"; src: url("fonts/pirata-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --black: #000; --white: #fff; --red: #b80f2a; --pink: #f0364f;
  --display: "Pirata", serif; --body: "Archivo", system-ui, sans-serif;
  --s1: .5rem; --s2: 1rem; --s3: 2rem; --s4: 4rem;
  --wrap: max(var(--s2), (100% - 72rem) / 2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 1.0625rem/1.55 var(--body); background: var(--white); color: var(--black); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0 0 var(--s2); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
a:focus-visible { outline: .1875rem solid var(--pink); outline-offset: .1875rem; }

.top { background: var(--black); color: var(--white); padding: var(--s1) var(--wrap); }
.top__nav { display: flex; justify-content: flex-end; align-items: center; gap: var(--s1); }
.top__link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: 0 var(--s1); text-decoration: none; font-weight: 600; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding: var(--s1) 1.25rem; background: var(--red); border: .125rem solid var(--red); color: var(--white); font-weight: 700; text-decoration: none; }
.button--outline { background: transparent; border-color: var(--white); }

.hero { position: relative; display: grid; gap: var(--s3); justify-items: start; background: var(--black); color: var(--white); padding: var(--s2) var(--wrap) var(--s4); margin-bottom: 6.5rem; }
/* ink height = hero margin + section padding, so drips stop short of the next heading */
.ink { position: absolute; top: calc(100% - .0625rem); left: 0; display: block; width: 100%; height: 10.5rem; fill: var(--black); pointer-events: none; }
.hero__logo { width: min(100%, 34rem); justify-self: center; }
.hero__title { font-size: clamp(2.75rem, 9vw, 5rem); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.section { padding: var(--s4) var(--wrap); }
.section--red { background: var(--red); color: var(--white); }
.section__title { font-size: clamp(2.5rem, 8vw, 4rem); }

.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s1); }
.work__photo { width: 100%; aspect-ratio: 1; object-fit: cover; }

.deals { display: grid; gap: var(--s2); margin: var(--s3) 0; }
.deals__item { background: var(--black); padding: var(--s3); }
.deals__item p { margin: 0; }
.deals__name { font-size: 2rem; }
.deals__price { font: 400 4rem/1 var(--display); }

.reviews { display: grid; gap: var(--s3); }
.reviews__quote { margin: 0; font: 500 1.25rem/1.45 var(--body); quotes: "\201C" "\201D"; }
.reviews__quote p::before { content: open-quote; }
.reviews__quote p::after { content: close-quote; }

.visit { display: grid; gap: var(--s3); background: var(--black); color: var(--white); align-items: center; }
.visit__address { font-style: normal; font-size: 1.25rem; margin-bottom: var(--s2); }
.visit__links a { display: inline-flex; align-items: center; min-height: 2rem; }
.foot { background: var(--black); color: var(--white); padding: var(--s2) var(--wrap); font-size: .875rem; }

@media (hover: hover) {
  .button:hover { background: var(--white); border-color: var(--white); color: var(--black); }
  .top__link:hover { text-decoration: underline; }
}
@media (min-width: 48em) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero__title { font-size: clamp(3rem, 5.5vw, 5rem); }
  .work { grid-template-columns: repeat(3, 1fr); }
  .deals, .reviews { grid-template-columns: repeat(3, 1fr); }
  .visit { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64em) { .work { grid-template-columns: repeat(4, 1fr); } }
