/* La FoodStylist — static rebuild
   Fonts: Cormorant Garamond — the closest free match to the Squarespace
   originals (Minerva Modern headings / Anziano body): an elegant, light,
   high-contrast serif with a refined, editorial feel.
   Layout: max page width 1400px, 4vw side padding, fixed header.
   Colours: dusty pink brand palette (#e6cece background, #a97e7e accent). */

:root {
  --ink: #1a1a1a;
  --ink-soft: #555;
  --ink-faint: #8a6e6e;
  --line: #d5b8b8;
  --bg: #e6cece;
  --accent: #a97e7e;
  --accent-hover: #96696b;
  --max-width: 1400px;
  --pad: 4vw;
  --heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }
a:hover { color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(230, 206, 206, 0.97);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-title {
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 34px;
}
.site-nav a {
  font-family: var(--body);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-toggle a { text-decoration: none; color: var(--ink-soft); }
.lang-toggle a:hover { color: var(--ink); text-decoration: underline; }
.lang-toggle .lang-current { color: var(--ink); font-weight: 600; }
.lang-toggle .lang-sep { margin: 0 4px; color: var(--ink-faint); }

/* ---------- Page ---------- */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(86px + 3vw) var(--pad) 6vw;
}
.page h1 {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 28px;
}
.page h2 {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.page h3 {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 23px;
  margin: 28px 0 8px;
}
.page h4 {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.04em;
  margin: 22px 0 6px;
}
.page p { margin: 0 0 16px; }

/* ---------- Masonry gallery ---------- */
.masonry {
  column-count: 3;
  column-gap: 18px;
}
.masonry-item {
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.masonry-item img { width: 100%; }

/* ---------- Photo grid (Creative Collabs: photos in reading order) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.photo-grid-item { margin: 0; }
.photo-grid-item img { width: 100%; display: block; }
.award-caption { text-align: center; margin-top: 12px; }
.award-caption strong { display: block; font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.award-caption span { display: block; font-size: 16px; margin-bottom: 2px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.about-photo img { width: 100%; }
.about-text p { font-size: 20px; }
.about-extra { margin: 48px 0 0; }
.about-extra img { width: 100%; }
.cta { text-align: center; margin-top: 64px; }
.cta h2 { font-size: 34px; }
.button {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 34px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--accent); color: #fff; }

/* ---------- Services ---------- */
.services { max-width: 1050px; margin: 0 auto; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 72px;
}
.service:nth-child(even) .service-image { order: 2; }
.service-image img { width: 100%; }
.service-text p { font-size: 19px; }
.service-note { text-align: center; font-size: 19px; }

/* ---------- Clients ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.client-card { text-decoration: none; display: block; }
.client-thumb { overflow: hidden; }
.client-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.client-card:hover .client-thumb img { transform: scale(1.04); }
.client-name {
  font-family: var(--heading);
  font-weight: 500;
  font-size: 23px;
  margin: 14px 0 0;
  text-align: center;
}

/* ---------- Project pages ---------- */
.project { max-width: 1200px; margin: 0 auto; }
.project h1 { text-align: center; }
.credits {
  text-align: center;
  color: var(--ink-soft);
  font-size: 18px;
  margin-bottom: 36px;
}
.credits p { margin: 0 0 4px; }
/* Text block sitting between two masonry groups on a project page. */
.project-block { margin: 48px 0; text-align: center; }
.project-block h3 { margin: 0 0 12px; }
.project-block h4 { margin: 0 0 4px; }
.project-block p { margin: 0 0 4px; }
.project-block .credits { margin-bottom: 0; }
.project-block > :last-child { margin-bottom: 0; }
/* Embedded YouTube video inside a project-block video list. */
.video-item { margin: 0 auto 28px; max-width: 860px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 8px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item p { margin: 0; }
/* Square (1:1) and vertical (9:16) videos are narrower and centred. */
.video-item.square { max-width: 480px; }
.video-embed.square { aspect-ratio: 1 / 1; }
.video-item.portrait { max-width: 360px; }
.video-embed.portrait { aspect-ratio: 9 / 16; }
.video-facade { position: absolute; inset: 0; cursor: pointer; background: #000; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; background: rgba(0, 0, 0, 0.65); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.video-facade .play-btn::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-facade:hover .play-btn { background: rgba(0, 0, 0, 0.85); }
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.project-nav a { text-decoration: none; }
.project-nav a:hover { text-decoration: underline; }
.project-nav .all { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { max-width: 680px; margin: 0 auto; text-align: center; }
.contact-photo { margin-bottom: 36px; }
.contact-photo img { width: 100%; }
.contact h1 { margin-bottom: 8px; }
.contact-name {
  font-family: var(--heading);
  font-size: 24px;
  margin: 0 0 4px;
}
.contact-line { font-size: 20px; margin: 0 0 4px; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.contact-social { margin: 18px 0 40px; font-size: 19px; }
.contact-form { text-align: left; border-top: 1px solid var(--line); padding-top: 36px; }
.contact-form label {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9afaf;
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  display: inline-block;
  padding: 13px 38px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-size: 18px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.contact-form button:hover { background: var(--accent-hover); }
.form-note { font-size: 16px; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--pad) 44px;
  text-align: center;
}
.site-footer p { margin: 0 0 8px; font-size: 17px; }
.site-footer .copyright { color: var(--ink-faint); font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer .social-links a { display: inline-flex; align-items: center; gap: 7px; }
.site-footer .social-icon { width: 19px; height: 19px; flex: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Lightbox (click a gallery photo to view it large) ---------- */
.masonry-item img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 12, 0.92);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}
.lightbox-counter {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 201;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.9;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 14px; right: 22px; font-size: 44px; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); font-size: 56px; padding: 12px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .masonry { column-count: 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .service:nth-child(even) .service-image { order: 0; }
  .page h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .site-title { font-size: 24px; }
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: 14px; }
  .lang-toggle { font-size: 13px; }
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .masonry { column-count: 1; }
  .photo-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .project-nav { flex-direction: column; }
}

/* Homepage intro (SEO headline) */
.home-intro { margin: 0 0 32px; }
.home-intro h1 { margin: 0 0 10px; }
.home-intro p { margin: 0; font-size: 20px; }
@media (max-width: 700px) { .home-intro { padding-top: 56px; } .page .home-intro h1 { font-size: 32px; } .home-intro p { font-size: 18px; } }

/* Google review QR (contact page) */
.contact-review { margin: 0 0 40px; }
.contact-review-title { font-size: 19px; margin: 0 0 12px; }
.contact-review img { width: 150px; height: 150px; display: block; margin: 0 auto; background: #fff; padding: 8px; }
.contact-review-link { font-size: 17px; margin: 10px 0 0; }
