/*
 * Café Restaurant Pulchri — art direction layer
 *
 * Keep this file separate from styles.css. Colours, photography treatment and
 * Pad Andrea figure placement can be adjusted here without touching layout,
 * content, reservations or any other site functionality.
 */

:root {
  --paper: #fffefa;
  --paper-deep: #f5f2ec;
  --white: #ffffff;
  --ink: #17191d;
  --ink-soft: #595b61;
  --wine: #f04f54;
  --wine-dark: #bd303d;
  --blue: #235cff;
  --blue-dark: #173aa6;
  --garden: #29483d;
  --garden-light: #edf4ef;
  --line: rgba(23, 25, 29, .16);
  --serif: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, ui-sans-serif, sans-serif;
}

body {
  letter-spacing: -.008em;
  background: var(--white);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -.052em;
}

.eyebrow,
.site-header .primary-nav a:not(.button):not(.language-link) {
  letter-spacing: .035em;
}

.site-header {
  border-bottom-width: 1px;
}

.site-header .primary-nav a:not(.button):not(.language-link)::after {
  height: 4px;
  background: var(--blue);
}

.site-header .button,
.button,
.button--small,
.button--light,
.booking-panel .button {
  border-width: 1.5px;
  border-radius: 999px;
  background: var(--blue);
}

.site-header .button:hover,
.button:hover,
.button--small:hover,
.button--light:hover {
  background: var(--wine);
}

.home-hero__copy,
.page-hero__copy {
  background: var(--white);
}

/* The mural now spans the viewport like the artwork spans the restaurant wall. */
.home-hero__grid {
  width: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-block: 0;
}

.home-hero {
  padding-top: 0;
}

.home-hero__copy {
  grid-row: 2;
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
}

.home-hero__message {
  max-width: 760px;
}

.home-hero__food {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.home-hero__food img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.03) saturate(1.13) contrast(1.055);
}

.home-hero__visual {
  grid-row: 1;
  width: 100%;
}

.home-hero__visual .site-photo {
  width: 100%;
  height: clamp(330px, 43vw, 690px);
  min-height: 0;
}

.home-hero__visual .site-photo::before {
  display: none;
}

.home-hero .hero-note {
  right: clamp(18px, 3vw, 52px);
  bottom: clamp(18px, 3vw, 44px);
}

.section--intro {
  padding-block: clamp(34px, 4vw, 56px);
}

.home-intro--compact {
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
}

.section,
.section--plain,
.section--warm {
  background-color: var(--white);
}

.section--garden,
.section--art,
.section--practical {
  background-color: var(--paper);
}

.home-hero .eyebrow,
.page-hero .eyebrow {
  border-bottom-color: var(--blue);
}

.home-hero .welcome-line {
  color: var(--wine-dark);
}

.section-heading h2::after {
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
}

.moment-card,
.moment-card:first-child,
.moment-card:last-child,
.wine-grid article,
.club-callout,
.booking-panel,
.inquiry-form,
.next-card,
.arrangement-card {
  border-width: 1.5px;
  border-radius: 16px;
  overflow: hidden;
}

.site-photo {
  border-radius: 16px;
}

.home-hero__visual .site-photo,
.page-hero__media .site-photo {
  border-radius: 0;
}

.moment-card--photo .site-photo {
  border-radius: 0;
}

.wine-grid article:nth-child(1) {
  background: var(--wine);
}

.wine-grid article:nth-child(2) {
  background: var(--white);
}

.wine-grid article:nth-child(3),
.fact-strip {
  background: var(--blue);
}

.image-story {
  align-items: stretch;
}

.image-story__media .site-photo,
.site-photo--garden-social {
  min-height: 100%;
}

.site-photo--garden-social img {
  min-height: 100%;
}

.section--garden .image-story__copy {
  border-radius: 16px;
}

/* Photography stays calm, light and geometrically straight. */
.site-photo img,
.home-hero__visual .site-photo img,
.page-hero__media .site-photo img {
  filter: brightness(1.01) saturate(1.04) contrast(1.035);
}

.site-photo:hover img {
  filter: brightness(1.025) saturate(1.07) contrast(1.04);
  transform: scale(1.006);
}

/* Food gets a little more colour and bite against the near-white canvas. */
.moment-card--photo .site-photo img,
.menu-feature .site-photo img,
.food-card .site-photo img {
  filter: brightness(1.015) saturate(1.13) contrast(1.055);
}

.home-hero__visual .site-photo img {
  object-position: center center;
  filter: brightness(1.015) saturate(1.07) contrast(1.045);
}

/* The main restaurant image is immediately visible, also after a page refresh. */
.home-hero__visual.reveal,
.page-hero__media.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.moment-card:nth-child(1),
.moment-card:nth-child(2),
.moment-card:nth-child(3),
.wine-grid article:nth-child(1),
.wine-grid article:nth-child(2),
.wine-grid article:nth-child(3),
.image-story__media,
.image-story__copy,
.club-callout,
.hero-note {
  transform: none;
}

.section-heading h2::after {
  transform: none;
}

.button:hover,
.button--small:hover,
.button--light:hover {
  transform: translateY(-1px);
}

/*
 * The drawings sit just outside the reading column, as if Pad Andrea added
 * them directly to the page. Positions are deliberately irregular, but fixed:
 * no layout shift, no random JavaScript and no overlap with essential content.
 */
.mural-theme main > .section:nth-of-type(4)::before,
.mural-theme main > .section:nth-of-type(7)::after {
  display: none;
}

.mural-theme main > .section:nth-of-type(2)::after,
.mural-theme main > .section:nth-of-type(3)::before,
.mural-theme main > .section:nth-of-type(4)::after,
.mural-theme main > .section:nth-of-type(5)::before,
.mural-theme main > .section:nth-of-type(6)::after,
.mural-theme main > .section:nth-of-type(7)::before {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  clip-path: none;
  content: "";
  filter: none;
  mix-blend-mode: multiply;
  opacity: .84;
  pointer-events: none;
}

/* Pointing woman — appears to introduce the first content section. */
.mural-theme main > .section:nth-of-type(2)::after {
  top: 7%;
  right: -34px;
  width: clamp(145px, 15vw, 220px);
  aspect-ratio: .92;
  background-image: url("/assets/figures/pad-pointing-woman.png");
  transform: rotate(3deg);
}

/* Small profile — peeks in low on the opposite side. */
.mural-theme main > .section:nth-of-type(3)::before {
  bottom: 5%;
  left: -38px;
  width: clamp(105px, 10vw, 150px);
  aspect-ratio: .8;
  background-image: url("/assets/figures/pad-profile.png");
  transform: rotate(-4deg);
}

/* The coloured face is the one bright painted surprise. */
.mural-theme main > .section:nth-of-type(4)::after {
  top: 10%;
  right: clamp(12px, 2.5vw, 42px);
  bottom: auto;
  width: clamp(92px, 9vw, 132px);
  aspect-ratio: .62;
  background-image: url("/assets/figures/pad-colour-head.png");
  transform: rotate(5deg);
}

/* Back-facing figure — quiet, graphic and vertical. */
.mural-theme main > .section:nth-of-type(5)::before {
  top: 6%;
  left: clamp(10px, 2.5vw, 42px);
  width: clamp(108px, 11vw, 165px);
  aspect-ratio: .54;
  background-image: url("/assets/figures/pad-back-figure.png");
  transform: rotate(-2deg);
}

/* Floating pair — used once, partly outside the page edge. */
.mural-theme main > .section:nth-of-type(6)::after {
  top: auto;
  right: -66px;
  bottom: 7%;
  width: clamp(170px, 18vw, 270px);
  aspect-ratio: 1.35;
  background-image: url("/assets/figures/pad-floating-pair.png");
  transform: rotate(2deg);
}

/* Reclining figure — final playful mark before the practical section. */
.mural-theme main > .section:nth-of-type(7)::before {
  top: 9%;
  bottom: auto;
  left: -52px;
  width: clamp(155px, 17vw, 245px);
  aspect-ratio: 1.04;
  background-image: url("/assets/figures/pad-reclining.png");
  transform: rotate(-3deg);
}

/*
  Pad Andrea figures form a loose, hand-painted route through the home page.
  They alternate sides and stay in the white margin, so the photography and
  reading column keep their calm while each section gets a small surprise.
*/
.mural-theme main > .section:nth-of-type(2)::after {
  top: 18%;
  right: clamp(-60px, -3.2vw, -24px);
  width: clamp(138px, 12vw, 184px);
  transform: rotate(5deg);
}

.mural-theme main > .section:nth-of-type(3)::before {
  bottom: 8%;
  left: clamp(-50px, -3vw, -20px);
  width: clamp(100px, 8vw, 126px);
  transform: rotate(-7deg);
}

.mural-theme main > .section:nth-of-type(4)::after {
  top: 18%;
  right: clamp(-42px, -2.5vw, -16px);
  width: clamp(88px, 7vw, 112px);
  transform: rotate(7deg);
}

.mural-theme main > .section:nth-of-type(5)::before {
  top: 10%;
  left: clamp(-44px, -2.8vw, -18px);
  width: clamp(104px, 9vw, 138px);
  transform: rotate(-4deg);
}

.mural-theme main > .section:nth-of-type(6)::after {
  right: clamp(-76px, -4vw, -30px);
  bottom: 10%;
  width: clamp(158px, 14vw, 220px);
  transform: rotate(4deg);
}

.mural-theme main > .section:nth-of-type(7)::before {
  top: 12%;
  left: clamp(-68px, -4vw, -28px);
  width: clamp(144px, 13vw, 206px);
  transform: rotate(-5deg);
}

/* Give the footer the same generous, unhurried rhythm as the rest of the site. */
.site-footer {
  padding: clamp(88px, 9vw, 128px) 0 clamp(42px, 5vw, 64px);
  isolation: isolate;
}

.footer-grid {
  align-items: start;
  gap: clamp(42px, 6vw, 88px);
}

.footer-brand > img.footer-logo {
  display: block;
  width: min(100%, 248px);
  height: auto;
  max-height: none;
  margin: 0 0 30px;
  background: transparent;
  filter: grayscale(1) contrast(1.65) invert(1);
  mix-blend-mode: screen;
}

/* A lighter typographic voice keeps the footer open and inviting. */
.site-footer,
.site-footer p,
.site-footer a,
.site-footer h2,
.site-footer .footer-kicker,
.site-footer strong {
  font-weight: 400;
}

.footer-bottom {
  margin-top: clamp(58px, 8vw, 92px);
  padding-top: 30px;
}

@media (max-width: 1100px) {
  .mural-theme main > .section:nth-of-type(2)::after,
  .mural-theme main > .section:nth-of-type(3)::before,
  .mural-theme main > .section:nth-of-type(4)::after,
  .mural-theme main > .section:nth-of-type(5)::before,
  .mural-theme main > .section:nth-of-type(6)::after,
  .mural-theme main > .section:nth-of-type(7)::before {
    opacity: .62;
  }
}

@media (max-width: 760px) {
  .home-hero__copy {
    padding-block: 56px 44px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero__visual .site-photo {
    height: 54vw;
    min-height: 320px;
  }

  .mural-theme main > .section:nth-of-type(2)::after,
  .mural-theme main > .section:nth-of-type(3)::before,
  .mural-theme main > .section:nth-of-type(4)::after,
  .mural-theme main > .section:nth-of-type(5)::before,
  .mural-theme main > .section:nth-of-type(6)::after,
  .mural-theme main > .section:nth-of-type(7)::before {
    display: none;
  }

  .site-footer {
    padding: 68px 0 108px;
  }

  .footer-grid {
    gap: 42px;
  }

  .footer-brand > img.footer-logo {
    width: min(100%, 226px);
    margin-bottom: 26px;
  }

  .footer-bottom {
    margin-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-photo img,
  .site-photo:hover img {
    transform: none;
    transition: none;
  }
}
