/* =========================================================
   Front Page
   Ciel v2
========================================================= */

/* =========================================================
   Hero
========================================================= */

.p-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  overflow: hidden;
  background: var(--ciel-paper);
  color: var(--ciel-ink);
}

.p-hero__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.p-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.86) 42%,
      rgba(255,255,255,.32) 72%,
      rgba(255,255,255,.08) 100%
    );
  pointer-events: none;
}

.p-hero.is-night::before {
  background:
    linear-gradient(
      90deg,
      rgba(6,15,30,.76) 0%,
      rgba(6,15,30,.56) 42%,
      rgba(6,15,30,.22) 72%,
      rgba(6,15,30,.08) 100%
    );
}

.p-hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--ciel-container)) / 2));
  bottom: 54px;
  z-index: 2;
  width: min(360px, 34vw);
  height: 1px;
  background: var(--ciel-line-blue);
  pointer-events: none;
}

.p-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: inherit;
  padding-top: 72px;
  padding-bottom: 72px;
}

.p-hero__content {
  width: min(640px, 100%);
}

.p-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--ciel-blue-deep);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.p-hero.is-night .p-hero__eyebrow {
  color: rgba(184, 220, 232, .92);
}

.p-hero__title {
  margin: 0;
  color: var(--ciel-ink);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: .06em;
  white-space: nowrap;
}

.p-hero.is-night .p-hero__title {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}

.p-hero__lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--ciel-muted);
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  line-height: 2;
}

.p-hero.is-night .p-hero__lead {
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}

.p-hero__logo {
  justify-self: end;
  width: min(240px, 22vw);
  opacity: .92;
}

.p-hero__logo img {
  width: 100%;
  height: auto;
}

.p-hero.is-night .p-hero__logo {
  opacity: .88;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.24));
}

/* =========================================================
   Front Sections
========================================================= */

.l-front .c-section {
  position: relative;
}

.l-front .c-section:nth-of-type(even) {
  background: var(--ciel-paper);
}

.l-front .c-section__head {
  display: grid;
  gap: 6px;
  margin-bottom: 34px;
}

.l-front .c-section__eyebrow {
  margin-bottom: 0;
}

.l-front .c-section__title {
  position: relative;
  padding-bottom: 16px;
}

.l-front .c-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: var(--ciel-blue);
}

/* =========================================================
   Gastro List On Front
========================================================= */

.l-front .p-gastro-list {
  padding: 72px 0;
}

.l-front .p-gastro-list--lunch {
  background:
    linear-gradient(180deg, rgba(251,250,247,.82), rgba(251,250,247,.82)),
    var(--ciel-paper);
}

.l-front .p-gastro-list--dinner {
  background: var(--ciel-white);
}

.l-front .p-gastro-list--wine {
  background:
    linear-gradient(135deg, rgba(28,63,148,.035), rgba(176,42,42,.035)),
    var(--ciel-paper);
}

.l-front .p-gastro-grid {
  gap: 30px;
}

.l-front .p-gastro-card {
  min-width: 0;
}

.l-front .p-gastro-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.l-front .p-gastro-card__link:hover,
.l-front .p-gastro-card__link:focus-visible {
  text-decoration: none;
}

.l-front .p-gastro-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ciel-paper);
}

.l-front .p-gastro-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform .35s ease,
    filter .35s ease;
}

.l-front .p-gastro-card__link:hover .p-gastro-card__thumb img,
.l-front .p-gastro-card__link:focus-visible .p-gastro-card__thumb img {
  transform: scale(1.035);
  filter: brightness(1.03);
}

.l-front .p-gastro-card__body {
  padding-top: 14px;
}

.l-front .p-gastro-card__title {
  margin: 0 0 8px;
  color: var(--ciel-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.l-front .p-gastro-card__price {
  margin: 0 0 10px;
  color: var(--ciel-blue-deep);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
}

.l-front .p-gastro-card__excerpt {
  margin: 0;
  color: var(--ciel-muted);
  font-size: .88rem;
  line-height: 1.85;
}

/* =========================================================
   Blog Latest On Front
========================================================= */

.l-front .p-blog-latest {
  position: relative;
  padding: 82px 0;
  background: var(--ciel-paper);
  color: var(--ciel-ink);
}

.l-front .p-blog-latest__inner {
  width: min(var(--ciel-container), calc(100% - 48px));
  margin-inline: auto;
}

.l-front .p-blog-latest__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.l-front .p-blog-latest__eyebrow {
  margin: 0 0 10px;
  color: var(--ciel-blue-deep);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.l-front .p-blog-latest__title {
  margin: 0;
  color: var(--ciel-ink);
  font-size: clamp(1.65rem, 2.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .08em;
}

.l-front .p-blog-latest__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 18px;
  background: var(--ciel-blue);
}

.l-front .p-blog-latest__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ciel-muted);
  font-size: .95rem;
  line-height: 2;
}

.l-front .p-blog-latest__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.l-front .p-blog-latest__item {
  min-width: 0;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--ciel-line);
}

.l-front .p-blog-latest__link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.l-front .p-blog-latest__link:hover,
.l-front .p-blog-latest__link:focus-visible {
  text-decoration: none;
}

.l-front .p-blog-latest__thumb {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(184, 220, 232, .16);
}

.l-front .p-blog-latest__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform .35s ease,
    filter .35s ease;
}

.l-front .p-blog-latest__link:hover .p-blog-latest__image,
.l-front .p-blog-latest__link:focus-visible .p-blog-latest__image {
  transform: scale(1.035);
  filter: brightness(1.03);
}

.l-front .p-blog-latest__body {
  padding: 22px 22px 24px;
}

.l-front .p-blog-latest__date {
  display: block;
  margin-bottom: 10px;
  color: var(--ciel-blue-deep);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
}

.l-front .p-blog-latest__itemTitle {
  margin: 0;
  color: var(--ciel-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .05em;
}

.l-front .p-blog-latest__excerpt {
  margin: 14px 0 0;
  color: var(--ciel-muted);
  font-size: .88rem;
  line-height: 1.9;
  letter-spacing: .035em;
}

.l-front .p-blog-latest__action {
  margin-top: 36px;
  text-align: center;
}

.l-front .p-blog-latest__empty {
  margin: 0;
  color: var(--ciel-muted);
  font-size: .92rem;
  line-height: 1.9;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 960px) {
  .p-hero {
    min-height: 560px;
  }

  .p-hero::after {
    width: 240px;
  }

  .p-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  }

  .l-front .p-gastro-grid {
    gap: 24px;
  }

  .l-front .p-blog-latest__list {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .p-hero {
    min-height: 560px;
  }

  .p-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.96) 0%,
        rgba(255,255,255,.82) 44%,
        rgba(255,255,255,.36) 76%,
        rgba(255,255,255,.08) 100%
      );
  }

  .p-hero.is-night::before {
    background:
      linear-gradient(
        180deg,
        rgba(6,15,30,.72) 0%,
        rgba(6,15,30,.54) 46%,
        rgba(6,15,30,.26) 78%,
        rgba(6,15,30,.08) 100%
      );
  }

  .p-hero::after {
    right: 14px;
    bottom: 36px;
    width: 160px;
  }

  .p-hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .p-hero__content {
    width: min(520px, 100%);
  }

  .p-hero__title {
    letter-spacing: .06em;
    white-space: normal;
  }

  .p-hero__lead {
    margin-top: 20px;
    line-height: 1.9;
  }

  .p-hero__logo {
    justify-self: end;
    width: min(180px, 42vw);
    margin-top: -8px;
  }

  .l-front .p-gastro-list {
    padding: 52px 0;
  }

  .l-front .c-section__head {
    margin-bottom: 28px;
  }

  .l-front .p-blog-latest {
    padding: 56px 0;
  }

  .l-front .p-blog-latest__inner {
    width: min(100%, calc(100% - 40px));
  }

  .l-front .p-blog-latest__header {
    margin-bottom: 30px;
  }

  .l-front .p-blog-latest__lead {
    margin-top: 18px;
  }

  .l-front .p-blog-latest__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .l-front .p-blog-latest__body {
    padding: 20px 18px 22px;
  }
}

@media (max-width: 560px) {
  .p-hero {
    min-height: 540px;
  }

  .p-hero__eyebrow {
    font-size: .72rem;
    letter-spacing: .18em;
  }

  .p-hero__title {
    font-size: clamp(1.72rem, 8vw, 2.4rem);
  }

  .p-hero__lead {
    max-width: 18em;
    font-size: .94rem;
  }

  .p-hero__logo {
    width: min(150px, 44vw);
  }

  .l-front .p-gastro-grid {
    gap: 26px;
  }

  .l-front .p-blog-latest__list {
    gap: 20px;
  }

  .l-front .p-blog-latest__itemTitle {
    font-size: .96rem;
  }

  .l-front .p-blog-latest__excerpt {
    font-size: .86rem;
    line-height: 1.85;
  }
}
