@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,750;9..144,850&family=Playfair+Display:wght@600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.demo-ribbon {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px max(22px, calc((100vw - 1180px) / 2));
  color: rgba(247, 248, 255, 0.78);
  background: rgba(5, 7, 17, 0.86);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
}

/* Avery Studio: dark editorial slideshow */
.portfolio-editorial {
  min-height: 100vh;
  color: #f7f8ff;
  background: #050711;
  font-family: "Playfair Display", Georgia, serif;
}

.editorial-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  right: auto;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  min-height: 78px;
  margin: 0 auto;
  color: rgba(247, 248, 255, 0.82);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  background: rgba(5, 7, 17, 0.62);
  backdrop-filter: blur(18px);
}

.editorial-nav div,
.store-nav div,
.restaurant-nav div {
  display: flex;
  gap: 22px;
  align-items: center;
}

.editorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: calc(100vh - 118px);
  align-items: end;
  gap: 32px;
  padding: 88px max(22px, calc((100vw - 1180px) / 2)) 58px;
  overflow: hidden;
}

.editorial-slides {
  position: absolute;
  inset: 0;
}

.editorial-slides::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 17, 0.88), rgba(5, 7, 17, 0.34) 48%, rgba(5, 7, 17, 0.72)),
    linear-gradient(0deg, rgba(5, 7, 17, 0.94), transparent 52%);
}

.editorial-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  animation: editorialSlide 15s infinite;
}

.editorial-slides img:nth-child(2) {
  animation-delay: 5s;
}

.editorial-slides img:nth-child(3) {
  animation-delay: 10s;
}

.editorial-copy,
.editorial-note {
  position: relative;
  z-index: 1;
}

.editorial-copy {
  max-width: 790px;
}

.editorial-copy p,
.editorial-services p,
.store-copy p,
.restaurant-copy p,
.menu-feature p {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-copy p,
.editorial-services p,
.editorial-work span {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.editorial-copy h1 {
  margin: 0 0 26px;
  max-width: 900px;
  font-size: clamp(3.8rem, 9.4vw, 9.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.editorial-copy a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  font-weight: 900;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.editorial-note {
  justify-self: stretch;
  max-width: none;
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 0;
  padding-top: 24px;
  color: rgba(247, 248, 255, 0.72);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.editorial-note span {
  display: block;
  margin-bottom: 10px;
  color: #89d8ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.editorial-work {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.editorial-work article {
  min-height: 390px;
  padding: clamp(24px, 5vw, 64px);
  background: #090c18;
}

.editorial-work article:nth-child(2) {
  display: grid;
  align-content: center;
  background: #f7f8ff;
  color: #090c18;
}

.editorial-work article:nth-child(3) {
  align-content: end;
}

.editorial-work span {
  color: #89d8ff;
  font-weight: 950;
}

.editorial-work h2,
.editorial-services h2 {
  max-width: 760px;
  margin: 44px 0 14px;
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  line-height: 0.98;
}

.editorial-work p {
  color: rgba(247, 248, 255, 0.68);
  line-height: 1.6;
}

.editorial-services {
  padding: 110px max(22px, calc((100vw - 1180px) / 2));
  background: #f7f8ff;
  color: #090c18;
}

.style-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 840px;
}

.style-notes span {
  border: 1px solid rgba(9, 12, 24, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 850;
}

/* Northline Supply: ecommerce drop page */
.store-drop {
  color: #f7f2ff;
  background: #0b0710;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.store-ribbon {
  color: #0b0710;
  background: #f7f2ff;
}

.store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  min-height: 76px;
  margin: 0 auto;
  color: rgba(247, 242, 255, 0.78);
  font-weight: 900;
  text-transform: uppercase;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 28px;
  width: min(1180px, calc(100% - 44px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  align-items: center;
}

.store-copy {
  position: relative;
  z-index: 1;
  border-left: 8px solid #ff3fb2;
  padding: 48px 0 48px 28px;
}

.store-copy p {
  color: #ff3fb2;
}

.store-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8.4vw, 8.8rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-actions {
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin-top: 30px;
}

.store-actions a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 22px;
  color: #0b0710;
  background: #ff3fb2;
  font-weight: 950;
}

.store-actions span {
  color: rgba(247, 242, 255, 0.62);
  font-weight: 800;
}

.store-hero img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 8%, 88% 100%, 0 92%);
  filter: saturate(0.9) contrast(1.14);
}

.store-ticker {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
  color: #0b0710;
  background: #f7f2ff;
  font-weight: 950;
  text-transform: uppercase;
}

.store-ticker span {
  flex: 1 0 auto;
  min-width: max-content;
  padding-inline: 28px;
}

.store-products {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 18px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 86px 0 34px;
}

.store-products article {
  min-height: 380px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 63, 178, 0.18), rgba(82, 78, 255, 0.08)),
    #15101c;
}

.store-products article:nth-child(2) {
  transform: translateY(34px);
}

.store-products article:nth-child(3) {
  min-height: 470px;
}

.store-products small {
  color: #ff3fb2;
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 0.8;
}

.store-products h2 {
  margin: 22px 0 8px;
  font-size: 2rem;
  text-transform: uppercase;
}

.store-products p {
  margin: 0;
  color: rgba(247, 242, 255, 0.72);
  font-size: 1.2rem;
}

.store-info {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 44px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 52px 0 104px;
}

.store-info h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.4rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.store-info p {
  margin: 0;
  color: rgba(247, 242, 255, 0.68);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Harvest Table: warm restaurant layout */
.restaurant-warm {
  color: #29150c;
  background: #fff8ec;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
}

.restaurant-ribbon {
  color: #fff8ec;
  background: #8d3f18;
}

.restaurant-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  min-height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(41, 21, 12, 0.16);
  color: #6f4a31;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.restaurant-nav > a {
  color: #29150c;
  font-size: 1.28rem;
}

.restaurant-hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 84px;
}

.restaurant-photo-stack {
  display: grid;
  grid-template-columns: 0.62fr 0.52fr;
  gap: 16px;
  min-height: 620px;
}

.restaurant-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-photo-stack img:first-child {
  border-radius: 2px 72px 2px 2px;
}

.restaurant-photo-stack img:last-child {
  align-self: end;
  height: 74%;
  border-radius: 72px 2px 2px 2px;
}

.restaurant-copy {
  align-self: center;
}

.restaurant-copy p,
.menu-feature p {
  color: #9a4f1c;
}

.restaurant-copy h1 {
  margin: 0 0 26px;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  font-weight: 850;
  line-height: 0.96;
}

.restaurant-copy a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff8ec;
  background: #8d3f18;
  font-weight: 900;
}

.reservation-card {
  position: absolute;
  left: 140px;
  bottom: 42px;
  width: min(330px, 82vw);
  border: 1px solid rgba(41, 21, 12, 0.14);
  padding: 24px;
  background: #fff8ec;
  box-shadow: 0 24px 70px rgba(41, 21, 12, 0.18);
}

.reservation-card span {
  color: #9a4f1c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reservation-card strong {
  display: block;
  margin: 8px 0;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.reservation-card p {
  margin: 0;
  color: #7b5b45;
  line-height: 1.5;
}

.menu-feature {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 68px 0;
  border-top: 1px solid rgba(41, 21, 12, 0.16);
}

.menu-feature h2 {
  margin: 0;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.92;
}

.menu-feature ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-feature li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(41, 21, 12, 0.16);
  padding: 28px 0;
}

.menu-feature span {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 700;
}

.menu-feature strong {
  max-width: 340px;
  color: #7b5b45;
  font-weight: 600;
  line-height: 1.45;
}

.visit-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 80px;
  border: 1px solid rgba(41, 21, 12, 0.16);
}

.visit-band article {
  min-height: 170px;
  padding: 24px;
}

.visit-band article + article {
  border-left: 1px solid rgba(41, 21, 12, 0.16);
}

.visit-band span {
  display: block;
  margin-bottom: 32px;
  color: #9a4f1c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.visit-band strong {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

@keyframes editorialSlide {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
  }
  34%,
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@media (max-width: 900px) {
  .editorial-nav,
  .store-nav,
  .restaurant-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .editorial-nav div,
  .store-nav div,
  .restaurant-nav div {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .editorial-hero {
    min-height: 760px;
    padding-top: 70px;
    grid-template-columns: 1fr;
  }

  .editorial-copy h1,
  .store-copy h1,
  .restaurant-copy h1 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  .editorial-note {
    justify-self: start;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .editorial-work,
  .store-hero,
  .store-products,
  .store-info,
  .restaurant-hero,
  .menu-feature,
  .visit-band {
    grid-template-columns: 1fr;
  }

  .store-hero {
    min-height: auto;
  }

  .store-hero img {
    min-height: 360px;
    clip-path: none;
  }

  .store-products article:nth-child(2),
  .store-products article:nth-child(3) {
    transform: none;
    min-height: 340px;
  }

  .restaurant-photo-stack {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .restaurant-photo-stack img,
  .restaurant-photo-stack img:last-child {
    height: auto;
    min-height: 280px;
    border-radius: 28px;
  }

  .reservation-card {
    position: static;
    margin-top: -46px;
    margin-left: 22px;
  }

  .menu-feature li {
    display: grid;
  }

  .visit-band article + article {
    border-top: 1px solid rgba(41, 21, 12, 0.16);
    border-left: 0;
  }
}
