/* styles.css — The Bears Agency */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;800;900&family=Barlow:ital,wght@0,400;0,700;0,800;0,900;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
  --yellow:   #F2C512;
  --black:    #000000;
  --white:    #FFFFFF;
  --near-black: #0a0a0a;
  --dark-card:  #111111;
  --mid-black:  #1a1a1a;
  --gray-text:  #9ca3af;
  --gray-border:#ffffff1a;
  --nav-h:    80px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --max-w:    1280px;
  --radius:   0px;
}

/* ── Skip link (accessibility) ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--yellow); color: var(--black);
  font-weight: 700; font-size: .9rem;
  padding: .5rem 1rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); line-height: 1.6; background: var(--black); color: var(--white); overflow-x: hidden; }
body.theme-light { background: var(--white); color: var(--black); }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul, ol { list-style: none; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.text-yellow  { color: var(--yellow); }
.text-center  { text-align: center; }
.hidden       { display: none !important; }
.bg-near-black{ background: var(--near-black); }
.mt-12        { margin-top: 3rem; }
.max-800      { max-width: 800px; margin-inline: auto; }
.max-700      { max-width: 700px; }
.grid-bg      { position: absolute; inset: 0; pointer-events: none; opacity: .025;
  background-image: linear-gradient(#fff 1px,transparent 1px), linear-gradient(90deg,#fff 1px,transparent 1px);
  background-size: 40px 40px; }
.desktop-only { display: none; }
.mobile-only  { display: flex; }

/* ── Typography ───────────────────────────────────────────────────────────── */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .92;
  margin-bottom: 1.5rem;
}
.page-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-text);
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.15rem;
  color: var(--gray-text);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.border-bottom-accent { border-bottom: 2px solid rgba(255,255,255,.1); padding-bottom: 2rem; margin-bottom: 4rem; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}
.section-dark {
  background: #111;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}
.section-midblack {
  background: #111;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  position: relative;
  overflow: hidden;
}
.pt-nav { padding-top: calc(var(--nav-h) + 2rem); }
.page-inner { padding-top: var(--nav-h); min-height: 80vh; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
#nav-container { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

.tb-nav {
  transition: background .3s, border-color .3s, height .3s;
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
}
.nav-dark  { background: rgba(0,0,0,.9); backdrop-filter: blur(12px); }
.nav-light { background: rgba(242,197,18,.9); backdrop-filter: blur(12px); }
.tb-nav.scrolled { height: 64px; border-bottom-color: var(--gray-border); }
.nav-light.scrolled { border-bottom-color: rgba(0,0,0,.2); }

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; height: 36px; }
.nav-logo svg, .nav-logo img { height: 100%; width: auto; }

.nav-links { gap: 2rem; align-items: center; }

.nav-link {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-text);
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.nav-dark  .nav-link { color: var(--gray-text); }
.nav-light .nav-link { color: rgba(0,0,0,.65); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-light .nav-link:hover, .nav-light .nav-link.active { color: var(--black); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-light .nav-link::after { background: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Dropdown trigger — matches other nav-links exactly, chevron inline */
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  border: none !important; box-shadow: none !important;
}
.dropdown-chevron { transition: transform .25s ease; flex-shrink: 0; }
.nav-dropdown-trigger[aria-expanded="true"] .dropdown-chevron { transform: rotate(180deg); }

/* Dropdown container — inline-flex so it's a natural flex sibling */
.nav-dropdown { display: inline-flex; align-items: center; position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,.12);
  border-top: 2px solid var(--yellow);
  min-width: 200px;
  display: none;
  flex-direction: column;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.nav-light .nav-dropdown-menu { background: #fff; border-color: rgba(0,0,0,.12); border-top-color: var(--black); }
.nav-dropdown-menu.open { display: flex; }

.nav-dropdown-item {
  padding: .75rem 1.25rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { color: var(--yellow); border-left-color: var(--yellow); background: rgba(242,197,18,.06); }
.nav-dropdown-item.active { color: var(--yellow); border-left-color: var(--yellow); }
.nav-light .nav-dropdown-item { color: rgba(0,0,0,.6); }
.nav-light .nav-dropdown-item:hover { color: var(--black); border-left-color: var(--black); background: rgba(0,0,0,.05); }

/* First item separator */
.nav-dropdown-item:not(:first-child) { border-top: 1px solid rgba(255,255,255,.06); }
.nav-light .nav-dropdown-item:not(:first-child) { border-top: 1px solid rgba(0,0,0,.06); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--gray-border);
  padding: .35rem .7rem;
  color: var(--gray-text);
  transition: all .25s;
}
.nav-light .lang-toggle { border-color: rgba(0,0,0,.25); color: rgba(0,0,0,.6); }
.lang-toggle:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-light .lang-toggle:hover { border-color: var(--black); color: var(--black); }

/* Hamburger */
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem;
  width: 40px; height: 40px; justify-content: center;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--white);
  transition: all .3s;
}
.nav-light .nav-hamburger span { background: var(--black); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--gray-border);
}
.nav-dark .mobile-menu  { background: var(--black); }
.nav-light .mobile-menu { background: var(--yellow); }
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
}
.nav-light .mobile-nav-link { color: var(--black); }
.mobile-nav-link:hover { color: var(--yellow); }
.nav-light .mobile-nav-link:hover { color: var(--white); }
.mobile-lang { font-size: 1rem; margin-top: 1rem; color: var(--gray-text); }
.nav-light .mobile-lang { color: rgba(0,0,0,.6); }

/* Mobile projects expandable */
.mobile-projects { display: flex; flex-direction: column; }
.mobile-projects-label {
  pointer-events: none;
  opacity: .45;
  font-size: 1rem;
  letter-spacing: .12em;
}

.mobile-projects-sub {
  display: flex;
  flex-direction: column;
  padding-left: 1.5rem;
  border-left: 2px solid var(--yellow);
  margin-top: .25rem;
  margin-bottom: .5rem;
  gap: .25rem;
}
.nav-light .mobile-projects-sub { border-left-color: var(--black); }

.mobile-sub-link {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-text);
  padding: .4rem 0;
  transition: color .2s;
}
.mobile-sub-link:hover { color: var(--yellow); }
.nav-light .mobile-sub-link { color: rgba(0,0,0,.55); }
.nav-light .mobile-sub-link:hover { color: var(--black); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.tb-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 1rem 2rem;
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.btn-arrow { transition: transform .3s; flex-shrink: 0; }
.tb-btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 4px 4px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(255,255,255,.25);
}

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-dark:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ── Patched Box ──────────────────────────────────────────────────────────── */
.patched-box {
  transition: transform .3s, box-shadow .3s;
}
.patched-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 8px solid var(--yellow);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.2);
  opacity: .4;
  animation: slowZoom 20s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #000 10%, rgba(0,0,0,.75) 60%, rgba(0,0,0,.25) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: calc(var(--nav-h) + 4rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right { display: flex; flex-direction: column; }
.hero-logo {
  width: clamp(180px, 35vw, 420px);
  height: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease, transform 1s ease;
}
.hero-logo svg, .hero-logo img { width: 100%; height: auto; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .85;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1s ease, filter 1s ease;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: #d1d5db;
  max-width: 700px;
  border-left: 4px solid var(--yellow);
  padding-left: 1.5rem;
  line-height: 1.4;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 1s ease, transform 1s ease;
}
.hero-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}

@media (max-width: 767px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-left { justify-content: flex-start; margin-bottom: 1.5rem; }
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* ── Ecosystem ─────────────────────────────────────────────────────────────── */
.ecosystem { text-align: center; }
.section-header { margin-bottom: 4rem; }

.ecosystem-center { display: flex; justify-content: center; margin-bottom: 0; }
.ecosystem-hub {
  background: #111;
  border: 4px solid var(--yellow);
  padding: clamp(1.5rem,4vw,2.5rem) clamp(2rem,5vw,3.5rem);
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 12px 12px 0 var(--yellow);
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.ecosystem-hub:hover { transform: translateY(-4px); box-shadow: 16px 16px 0 var(--yellow); }
.hub-logo { height: 64px; margin-inline: auto; margin-bottom: 1rem; display: block; }
.hub-logo svg, .hub-logo img { height: 100%; width: auto; display: block; margin-inline: auto; }
.ecosystem-hub p { color: var(--gray-text); font-weight: 300; font-size: 1rem; }

/* Connector: single vertical line running from hub down through all cards */
.ecosystem-connector {
  display: flex;
  justify-content: center;
  pointer-events: none;
  width: 100%;
  position: relative;
  z-index: 0;
}
.ecosystem-connector-stem {
  width: 2px;
  height: 2rem;
  background: rgba(255,255,255,.2);
}
/* Horizontal bar + ticks — desktop 4-col only */
.ecosystem-connector-h { display: none; }

/* Vertical line continues behind the grid on mobile */
.ecosystem-grid {
  position: relative;
}
.ecosystem-grid::before {
  content: '';
  position: absolute;
  top: -1.5rem; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,.2);
  z-index: 0;
  pointer-events: none;
}
.eco-card { position: relative; z-index: 1; }

@media (min-width: 1024px) {
  .ecosystem-connector-h {
    display: block;
    width: 75%;
    height: 2px;
    background: rgba(255,255,255,.2);
    position: relative;
  }
  .ecosystem-connector-h::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1.5rem;
    background-image:
      linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)),
      linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)),
      linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)),
      linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2));
    background-size: 2px 100%;
    background-repeat: no-repeat;
    background-position: 12.5% 0, 37.5% 0, 62.5% 0, 87.5% 0;
  }
  .ecosystem-connector { flex-direction: column; align-items: center; }
  .ecosystem-grid::before { display: none; }
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.eco-card {
  background: var(--black);
  border: 2px solid var(--gray-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: border-color .3s, transform .3s;
  cursor: pointer;
}
.eco-card:hover { transform: translateY(-4px); }
.eco-petic:hover,
.eco-flashback:hover,
.eco-den:hover,
.eco-palillo:hover  { border-color: var(--yellow); }

.eco-badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  padding: .2rem .8rem;
  border: 2px solid;
  margin-bottom: 1.25rem;
  display: inline-block;
}
.eco-badge-img  { display: block; height: 3.2rem; width: auto; }
.petic-badge,
.flashback-badge,
.den-badge,
.palillo-badge  { background: var(--black); border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
.petic-badge,
.flashback-badge { color: var(--yellow); }
.den-badge,
.eco-badge.palillo-badge { color: var(--white); transform: none; }
.den-badge { display: inline-flex; align-items: center; min-height: calc(3.2rem + .4rem); }

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.eco-card p { color: var(--gray-text); font-weight: 300; margin-bottom: 1.5rem; flex: 1; }

.eco-link {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--yellow);
  transition: gap .25s, opacity .25s;
  opacity: .7;
  margin-top: auto;
}
.eco-link:hover { gap: .7rem; opacity: 1; color: var(--yellow); }

/* ── Services grid ─────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card { background: var(--black); height: 100%; }
.service-card-hover { transition: background .3s; }
.service-card-hover:hover { background: var(--yellow); }
.service-card-hover:hover .service-title,
.service-card-hover:hover .service-desc { color: var(--black) !important; }
.service-icon { color: var(--yellow); margin-bottom: 1rem; transition: color .3s; }
.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: .75rem;
  transition: color .3s;
}
.service-desc { color: var(--gray-text); font-weight: 300; transition: color .3s; }

/* ── Gallery grid ──────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.gallery-item {
  position: relative; overflow: hidden;
  border: 1px solid var(--gray-border);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .6s, transform .6s;
  aspect-ratio: 4/3;
}
.gallery-item:hover img { filter: grayscale(0); transform: scale(1.04); }
.gallery-label {
  position: absolute; bottom: 0; left: 0;
  padding: .5rem 1rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--yellow);
  color: var(--black);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s, transform .4s;
}
.gallery-item:hover .gallery-label { opacity: 1; transform: translateY(0); }

.view-gallery-link {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.view-gallery-link:hover { color: var(--white); border-color: var(--white); }

/* ── Approach section ─────────────────────────────────────────────────────── */
.approach-section {
  background: var(--yellow);
  color: var(--black);
  border-top: 8px dashed var(--black);
  border-bottom: 8px dashed var(--black);
}
.approach-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.approach-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.approach-body {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.approach-sub {
  font-size: 1.15rem;
  font-weight: 600;
  border-top: 4px solid var(--black);
  padding-top: 1.5rem;
  display: inline-block;
}

/* ── Home CTA ─────────────────────────────────────────────────────────────── */
.cta-section  { padding-block: clamp(4rem, 10vw, 8rem); }
.cta-inner    { max-width: 900px; margin-inline: auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.cta-sub { color: var(--gray-text); font-size: 1.15rem; font-weight: 300; margin-bottom: 3rem; }

/* ── About ────────────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 4rem 0;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .75rem;
}
.pillar-desc { color: var(--gray-text); font-weight: 300; }

.about-intro { margin-bottom: 3rem; }
.about-intro .page-sub { margin-bottom: 0; }
.about-image-block img {
  width: 100%; height: clamp(300px, 50vw, 560px);
  object-fit: cover; filter: grayscale(100%); opacity: .55;
}
.about-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.about-overlay-box {
  background: rgba(0,0,0,.82);
  border: 2px dashed var(--yellow);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 720px;
  text-align: center;
}
.about-overlay-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.about-overlay-box p { color: #d1d5db; font-weight: 300; }

/* ── Projects ─────────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.project-card {
  position: relative; overflow: hidden;
  border: 2px solid var(--gray-border);
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .3s;
}
.project-card.highlighted { border-color: var(--yellow); }
.project-card:hover { border-color: var(--yellow); }
.project-bg {
  position: absolute; inset: 0; z-index: 0;
}
.project-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%); opacity: .4;
  transition: filter .6s, opacity .6s, transform .6s;
}
.project-card:hover .project-bg img { filter: grayscale(0); opacity: .75; transform: scale(1.04); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 30%, rgba(0,0,0,.3) 100%);
}
.project-content { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.5rem); }
.project-logo { height: 32px; margin-bottom: .5rem; }
.project-logo svg, .project-logo img { height: 100%; width: auto; }
.project-agency-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gray-text);
  margin-bottom: 1rem;
}
.project-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.project-desc { color: #d1d5db; font-weight: 300; max-width: 360px; margin-bottom: 1.5rem; }
.project-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--yellow);
  transition: gap .25s, color .25s;
}
.project-link:hover { gap: .7rem; color: var(--white); }

/* ── Gallery page ──────────────────────────────────────────────────────────── */
.gallery-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.gallery-cats { display: flex; flex-wrap: wrap; gap: .75rem; }
.cat-tag {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid var(--gray-border);
  padding: .4rem 1rem;
  color: var(--gray-text);
  transition: border-color .25s, color .25s;
}
.cat-tag:hover { border-color: var(--yellow); color: var(--yellow); }
.cat-tag.active { border-color: var(--yellow); color: var(--yellow); background: rgba(242,197,18,.08); }

.gallery-empty { color: var(--gray-text); font-size: 1.1rem; font-weight: 300; padding: 4rem 0; text-align: center; grid-column: 1 / -1; }

.masonry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.masonry-item {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  cursor: zoom-in;
}
.masonry-item img {
  width: 100%; height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter .5s, transform .5s;
}
.masonry-item:hover img { filter: grayscale(0); transform: scale(1.03); }
.masonry-caption {
  position: absolute; inset: 0;
  background: rgba(242,197,18,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  opacity: 0; transition: opacity .3s;
}
.masonry-item:hover .masonry-caption { opacity: 1; }

/* ── Team ─────────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; }
.team-card { background: var(--near-black); }
.team-avatar-wrap {
  width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--yellow);
  margin-inline: auto; margin-bottom: 1.25rem;
  filter: grayscale(100%);
  transition: filter .4s;
}
.team-card:hover .team-avatar-wrap { filter: grayscale(0); }
.team-section { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-bottom: .5rem; }
.team-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; margin-bottom: .25rem; }
.team-role { color: var(--gray-text); font-weight: 300; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.contact-logo { height: 40px; margin-bottom: 2rem; }
.contact-logo svg, .contact-logo img { height: 100%; width: auto; }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .9;
  margin-bottom: 1.5rem;
}
.contact-sub { color: var(--gray-text); font-size: 1.1rem; font-weight: 300; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-row { display: flex; align-items: center; gap: .75rem; font-size: 1.05rem; font-weight: 300; color: var(--white); }
.contact-row a { transition: color .25s; }
.contact-row a:hover { color: var(--yellow); }

.contact-form-box { background: var(--near-black); }
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,.2);
  padding-bottom: .75rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .25s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--yellow); }
.form-field textarea { resize: none; }
.contact-form-box form { display: flex; flex-direction: column; gap: 2rem; }
.form-submit { width: 100%; justify-content: center; }
.form-success {
  text-align: center; padding: 3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.form-success h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 900; text-transform: uppercase; }
.form-error { color: #f87171; font-size: .9rem; text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.tb-footer { background: #0a0a0a; border-top: 1px solid var(--gray-border); padding-block: 5rem; }
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.footer-logo { height: 108px; margin-bottom: 1.25rem; }
.footer-logo svg, .footer-logo img { height: 100%; width: auto; }
.footer-tagline { color: var(--gray-text); font-weight: 300; max-width: 380px; }
.footer-heading { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links button { color: var(--gray-text); font-weight: 300; font-size: .95rem; text-align: left; transition: color .25s; }
.footer-links button:hover { color: var(--white); }
.footer-socials { display: flex; gap: .75rem; margin-bottom: 2rem; }
.footer-socials a {
  width: 40px; height: 40px; border: 1px solid var(--gray-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: border-color .25s, color .25s;
}
.footer-socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-copy { font-size: .75rem; color: #4b5563; }

/* ── PETIC landing ────────────────────────────────────────────────────────── */
.petic-page { background: var(--white); color: var(--black); }

.petic-marquee {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid var(--black);
  height: 44px; display: flex; align-items: center;
  margin-top: var(--nav-h);
}
.marquee-track {
  display: inline-flex; gap: 1.5rem;
  animation: marquee 18s linear infinite;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.marquee-track span + span { margin-left: 1.5rem; }
.petic-marquee .marquee-track span img.marquee-logo { height: 32px !important; width: auto !important; max-width: none !important; display: block !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.petic-hero {
  background: var(--white);
  border-bottom: 12px dashed var(--black);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.petic-hero::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .03;
  background-image: repeating-linear-gradient(45deg, #000 0, #000 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.petic-hero-inner { position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; }

.petic-logo-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  border: 4px solid var(--black);
  padding: .5rem 1.5rem;
  position: relative;
  box-shadow: 8px 8px 0 var(--yellow);
  margin-bottom: 2.5rem;
  background: var(--white);
  transform: rotate(-3deg);
}
.petic-logo-badge::before {
  content: '';
  position: absolute; inset: 4px;
  border: 3px dashed var(--black);
  pointer-events: none;
}
.petic-logo-xl { font-size: 3rem; transform: none; margin-bottom: 2rem; box-shadow: 8px 8px 0 #fff; }

.petic-h1 {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 11rem);
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .85;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.petic-hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 3rem;
  color: rgba(0,0,0,.75);
  line-height: 1.3;
}
.petic-cta-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--yellow);
  color: var(--black);
  border: 4px solid var(--black);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  box-shadow: 10px 10px 0 var(--black);
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
}
.petic-cta-btn:hover { box-shadow: 14px 14px 0 var(--black); transform: translateY(-2px); }
.petic-cta-btn svg { transition: transform .3s; }
.petic-cta-btn:hover svg { transform: rotate(45deg); }

.zigzag { width: 100%; height: 28px; flex-shrink: 0; }

.petic-vibe {
  background: var(--yellow);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  border-bottom: 8px solid var(--black);
  position: relative; overflow: hidden;
  display: flex; justify-content: center;
}
.petic-pin {
  position: absolute;
  color: var(--black);
  opacity: .45;
  width: clamp(60px, 10vw, 100px);
}
.petic-pin-left  { top: 2rem; left: 2rem; transform: rotate(45deg); }
.petic-pin-right { bottom: 2rem; right: 2rem; transform: rotate(-12deg); }

.petic-doodle-box {
  background: var(--black);
  border: 4px solid var(--white);
  box-shadow: 16px 16px 0 var(--black);
  transform: rotate(2deg);
  width: 100%; max-width: 900px;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.petic-doodle-inner {
  position: relative; width: 100%; height: 100%;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.doodle-svg { position: absolute; inset: 0; opacity: .7; }
.petic-get-patched {
  position: relative; z-index: 1;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-transform: uppercase;
  padding: .5rem 2rem;
  border: 4px solid var(--black);
  transform: rotate(-6deg);
}

.petic-what {
  background: var(--black);
  color: var(--white);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  border-bottom: 16px dashed var(--yellow);
}
.petic-container { max-width: var(--max-w); margin-inline: auto; }
.petic-what-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.petic-section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 4px 4px 0 #fff;
  margin-bottom: 2rem;
}
.petic-what-text p { font-size: 1.2rem; font-weight: 700; line-height: 1.6; margin-bottom: 1.5rem; }
.petic-what-text p:last-of-type { color: var(--gray-text); font-weight: 300; }
.petic-tags { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.petic-tag {
  border: 3px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3rem 1rem;
}
.petic-img-frame {
  position: relative;
  border: 4px solid var(--white);
  overflow: hidden;
}
.petic-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  border: 4px solid var(--yellow);
  transform: translate(12px, 12px);
  z-index: -1;
}
.petic-img-frame img { width: 100%; filter: grayscale(100%) contrast(1.2); }

.petic-merch {
  background: var(--white);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
}
.petic-merch-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  position: relative;
  margin-bottom: 4rem;
}
.petic-merch-title::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -8px;
  width: 60%; height: 16px;
  background: var(--yellow);
  z-index: -1;
}
.petic-merch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.petic-merch-card { display: flex; flex-direction: column; align-items: center; }
.petic-merch-img {
  width: 100%;
  border: 4px solid var(--black);
  background: #f3f3f3;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 12px 12px 0 var(--black);
  transition: background .3s, box-shadow .25s, transform .25s;
}
.petic-merch-card:hover .petic-merch-img {
  background: var(--yellow);
  box-shadow: 16px 16px 0 var(--black);
  transform: translateY(-4px);
}
.petic-merch-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 1rem; filter: grayscale(100%) contrast(1.4); mix-blend-mode: multiply; }
.petic-merch-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--black);
}

.petic-footer-cta {
  background: var(--black);
  color: var(--yellow);
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.petic-footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-transform: uppercase;
}
.petic-book-btn {
  background: var(--yellow);
  border: 4px solid var(--yellow);
  box-shadow: 8px 8px 0 var(--white);
}
.petic-book-btn:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 12px 12px 0 var(--yellow);
  color: var(--black);
}
.petic-socials { display: flex; gap: .75rem; justify-content: center; }
.petic-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid currentColor; opacity: .7; transition: opacity .2s;
}
.petic-socials a:hover { opacity: 1; }

/* ── Photo Flashback landing ──────────────────────────────────────────────── */
.flashback-page { background: #0f0f0f; color: var(--white); }

.fb-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 8px solid var(--yellow);
  margin-top: var(--nav-h);
}
.fb-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  display: flex;
}

.fb-grain {
  position: absolute; inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fb-hero-content {
  position: relative; z-index: 1;
  max-width: 900px; padding: 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.fb-film-badge {
  display: inline-flex; flex-direction: column; align-items: center;
  border: 4px solid var(--white);
  padding: .75rem 1.5rem;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  transform: rotate(-2deg);
  opacity: 0; transition: opacity .8s ease, transform .8s ease;
}
.fb-film-sub { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em; color: #9ca3af; margin-bottom: .25rem; }
.fb-film-title { font-weight: 900; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; }
.fb-logo { width: 180px; height: auto; display: block; }

.fb-h1 {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; transition: opacity .8s ease;
}
.fb-line {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 12vw, 8rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
  padding: 0 1rem;
}
.fb-line:nth-child(1), .fb-line:nth-child(3) { background: var(--white); color: var(--black); transform: rotate(-1deg); }
.fb-line:nth-child(2) { background: var(--yellow); color: var(--black); transform: rotate(1deg); }

.fb-hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
  background: rgba(0,0,0,.6);
  padding: 1rem 1.5rem;
  opacity: 0; transition: opacity .8s ease;
}
.fb-cta-btn {
  box-shadow: 8px 8px 0 rgba(255,255,255,1) !important;
  opacity: 0; transition: opacity .8s ease;
}
.fb-cta-btn:hover { box-shadow: none !important; transform: translate(2px, 2px) !important; }

/* Film border section */
.film-border-section {
  position: relative;
  background: #1a1a1a;
  padding: clamp(3rem, 8vw, 6rem);
  margin-block: 3rem;
  border-left: 24px solid var(--black);
  border-right: 24px solid var(--black);
  max-width: var(--max-w);
  margin-inline: auto;
}
.film-holes {
  position: absolute; top: 0; bottom: 0; width: 10px;
  background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.4) 0, rgba(255,255,255,.4) 12px, transparent 12px, transparent 24px);
}
.film-holes.left  { left: -17px; }
.film-holes.right { right: -17px; }

.fb-intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.fb-intro-label { font-family: var(--font-mono); font-size: .75rem; color: var(--yellow); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.fb-intro-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 2rem; }
.fb-intro-body p { color: var(--gray-text); font-weight: 300; font-size: 1.1rem; margin-bottom: 1.25rem; line-height: 1.7; }
.fb-highlight { color: var(--white) !important; font-weight: 700 !important; border-left: 4px solid var(--yellow); padding-left: 1rem; }

.fb-intro-img { position: relative; }
.fb-intro-img-frame { position: relative; border: 4px solid var(--white); }
.fb-intro-img-frame::after {
  content: ''; position: absolute; inset: 0;
  border: 4px solid var(--yellow); transform: translate(12px, 12px);
  z-index: -1; pointer-events: none;
}
.fb-intro-img-frame img { filter: grayscale(100%) contrast(1.2); width: 100%; }

.fb-berlin { padding-block: clamp(4rem, 10vw, 8rem); }
.fb-mono-sub { font-family: var(--font-mono); font-size: .8rem; color: var(--gray-text); letter-spacing: .15em; text-transform: uppercase; margin-top: .75rem; margin-bottom: 4rem; }

.fb-features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
.fb-feature {
  background: #111; border: 1px solid rgba(255,255,255,.08);
  padding: 2rem; transition: border-color .3s;
}
.fb-feature:hover { border-color: var(--yellow); }
.fb-feature-icon { margin-bottom: 1.25rem; }
.fb-feature h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: .75rem; }
.fb-feature p { color: var(--gray-text); font-weight: 300; }

.fb-steps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-block: 2.5rem;
}
.fb-step { text-align: center; }
.fb-step-num { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; color: var(--yellow); margin-bottom: .75rem; }
.fb-step p { font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }

.fb-marketing {
  background: var(--yellow);
  color: var(--black);
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  position: relative; overflow: hidden;
}
.fb-torn-top {
  position: absolute; top: 0; left: 0; width: 100%; height: 32px;
  background: #0f0f0f;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 50%, 90% 100%, 85% 50%, 80% 100%, 75% 50%, 70% 100%, 65% 50%, 60% 100%, 55% 50%, 50% 100%, 45% 50%, 40% 100%, 35% 50%, 30% 100%, 25% 50%, 20% 100%, 15% 50%, 10% 100%, 5% 50%, 0 100%);
}
.fb-marketing-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: var(--max-w); margin-inline: auto; }
.fb-marketing-title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 2rem; line-height: .9; }
.fb-ugc-box {
  background: var(--black); color: var(--white);
  padding: 2rem; transform: rotate(-1deg);
  box-shadow: 12px 12px 0 rgba(255,255,255,.4);
}
.fb-ugc-box h3 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
.fb-ugc-box p { font-weight: 300; font-size: 1rem; margin-bottom: .75rem; line-height: 1.6; }

.fb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fb-stat {
  background: var(--white);
  border: 4px solid var(--black);
  padding: 1.5rem 1rem;
  display: flex; flex-direction: column; justify-content: center;
}
.fb-stat-wide { grid-column: span 2; }
.fb-stat-val { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; }
.fb-stat-label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; font-weight: 700; color: #6b7280; margin-top: .25rem; }

.fb-specs-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.fb-section-h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900; text-transform: uppercase;
  border-bottom: 4px solid var(--white); padding-bottom: 1rem; margin-bottom: 2rem;
}
.fb-specs dl { display: flex; flex-direction: column; gap: 1.5rem; }
.fb-spec-row { display: flex; gap: 1.5rem; }
.fb-spec-row dt { font-family: var(--font-mono); font-size: .8rem; color: var(--yellow); font-weight: 700; text-transform: uppercase; width: 110px; flex-shrink: 0; padding-top: .1rem; }
.fb-spec-row dd { color: var(--gray-text); font-weight: 300; font-size: .95rem; line-height: 1.6; }

.fb-deal-we, .fb-deal-you {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.fb-deal-we  { background: #111; border-left: 4px solid var(--yellow); }
.fb-deal-you { background: var(--white); color: var(--black); border-left: 4px solid var(--black); }
.fb-deal-we h3, .fb-deal-you h3 { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
.fb-deal-we ul { list-style: disc; padding-left: 1.25rem; }
.fb-deal-we li { color: var(--gray-text); font-weight: 300; margin-bottom: .4rem; }
.fb-deal-you ul { list-style: disc; padding-left: 1.25rem; }
.fb-deal-you li { color: #374151; font-weight: 500; margin-bottom: .4rem; }

.fb-footer-cta {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.1);
}
.fb-footer-cta h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 2.5rem; }
.fb-partner { background: #111; border: 1px solid rgba(255,255,255,.08); padding: 2.5rem; display: inline-block; margin-bottom: 3rem; }
.fb-partner-name { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; margin-bottom: .25rem; }
.fb-partner-role { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.fb-partner-phone { font-family: var(--font-display); font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.fb-socials { display: flex; gap: .75rem; justify-content: center; margin-top: 2rem; }
.fb-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); color: var(--white); opacity: .7; transition: opacity .2s;
}
.fb-socials a:hover { opacity: 1; }

/* ── Den Rentals landing ───────────────────────────────────────────────────── */
.den-page { background: #050505; color: var(--white); }

.den-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-top: var(--nav-h);
}
.den-hero-bg { position: absolute; inset: 0; z-index: 0; }
.den-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: .28; }
.den-hero-overlay  { position: absolute; inset: 0; background: linear-gradient(to top, #050505 15%, rgba(5,5,5,.75) 60%, transparent 100%); }
.den-hero-overlay-r{ position: absolute; inset: 0; background: linear-gradient(to right, #050505 5%, transparent 60%); }
.den-hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  width: 100%;
  opacity: 0; transition: opacity .8s ease, transform .8s ease;
  transform: translateY(20px);
}
.den-hero-content[style*="opacity: 1"] { transform: translateY(0); }

.den-label-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.den-rule { width: 3rem; height: 2px; background: var(--yellow); flex-shrink: 0; }
.den-label { font-family: var(--font-mono); font-size: .75rem; color: var(--yellow); letter-spacing: .18em; text-transform: uppercase; }

.den-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .85;
  margin-bottom: 1.5rem;
}
.den-hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: #9ca3af;
  max-width: 680px;
  border-left: 4px solid var(--yellow);
  padding-left: 1.5rem;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.den-mono-label { font-family: var(--font-mono); font-size: .72rem; color: var(--yellow); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.25rem; }

.den-sceno { position: relative; }
.den-sceno-header { margin-bottom: 3rem; }

.den-services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.05); }
.den-service-card {
  position: relative; min-height: 280px;
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,.05);
  transition: border-color .3s;
}
.den-service-card:hover { border-color: rgba(255,255,255,.2); }
.den-service-bg {
  position: absolute; inset: 0;
  background-image: var(--bg-img);
  background-size: cover; background-position: center;
  filter: grayscale(100%);
  opacity: .18;
  transition: opacity .5s;
}
.den-service-card:hover .den-service-bg { opacity: .35; }
.den-service-content { position: relative; z-index: 1; }
.den-ready-label {
  font-family: var(--font-mono); font-size: .65rem;
  color: var(--yellow); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .75rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.den-service-card:hover .den-ready-label { opacity: 1; transform: translateY(0); }
.den-service-content h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; margin-bottom: .5rem; }
.den-service-content p { color: var(--gray-text); font-size: .9rem; font-weight: 300; }

.den-installs-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
.den-install { background: #050505; border: 1px solid rgba(255,255,255,.08); padding: clamp(1.5rem, 4vw, 2.5rem); transition: border-color .3s; }
.den-install:hover { border-color: rgba(255,255,255,.2); }
.den-install-img { position: relative; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,.05); overflow: hidden; aspect-ratio: 16/9; }
.den-install-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); mix-blend-mode: screen; opacity: .7; transition: opacity .4s; }
.den-install:hover .den-install-img img { opacity: .9; }
.den-install-code {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(0,0,0,.8);
  font-family: var(--font-mono); font-size: .65rem;
  border: 1px solid rgba(255,255,255,.15);
  padding: .2rem .6rem; letter-spacing: .08em;
}
.den-install h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
.den-install p { color: var(--gray-text); font-weight: 300; margin-bottom: 1.5rem; line-height: 1.6; }
.den-tag-list { display: flex; flex-direction: column; gap: .4rem; }
.den-tag-list li { font-family: var(--font-mono); font-size: .75rem; color: var(--yellow); }

.den-quote {
  max-width: 900px; margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}
.den-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
}
.den-quote p em { color: var(--yellow); font-style: normal; }

.den-footer-cta {
  background: var(--yellow); color: var(--black);
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem);
}
.den-footer-cta h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 3rem; line-height: .95; }
.den-cta-btn {
  background: var(--black); color: var(--white);
  border: 4px solid var(--black);
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08em;
  padding: 1.1rem 3rem;
  transition: all .3s;
  cursor: pointer;
}
.den-cta-btn:hover { background: transparent; color: var(--black); }

/* ── Responsive: Tablet ────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .desktop-only { display: flex; }
  .mobile-only  { display: none; }

  .ecosystem-grid      { grid-template-columns: 1fr; }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid        { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid        { grid-template-columns: repeat(2, 1fr); }
  .projects-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .petic-merch-grid    { grid-template-columns: repeat(4, 1fr); }
  .fb-features-grid    { grid-template-columns: repeat(3, 1fr); }
  .fb-steps            { grid-template-columns: repeat(4, 1fr); }
  .fb-specs-grid       { grid-template-columns: repeat(2, 1fr); }
  .fb-marketing-grid   { grid-template-columns: repeat(2, 1fr); }
  .fb-intro-grid       { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .den-services-grid   { grid-template-columns: repeat(2, 1fr); }
  .den-installs-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner        { grid-template-columns: 1fr 1fr; }
  .contact-grid        { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .gallery-header      { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ── Responsive: Desktop ───────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .ecosystem-grid      { grid-template-columns: repeat(4, 1fr); }
  .services-grid       { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid        { grid-template-columns: repeat(3, 1fr); }
  .masonry-grid        { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid        { grid-template-columns: repeat(3, 1fr); }
  .footer-inner        { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .team-grid           { grid-template-columns: repeat(4, 1fr); }
  .petic-what-grid     { grid-template-columns: repeat(2, 1fr); }
  .den-services-grid   { grid-template-columns: repeat(3, 1fr); }
}

/* ── Reduced motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

/* ── PALILLO landing ───────────────────────────────────────────────────────── */
/* Palette: cream #F5EFE0 | red #C72E3D | yellow #F2C12B | black #000 */

.palillo-page { background: #F5EFE0; color: #000; font-family: var(--font-display); overflow-x: hidden; }

/* Marquee */
.palillo-marquee { background: #C72E3D; color: #F5EFE0; overflow: hidden; white-space: nowrap; border-bottom: 4px solid #000; height: 48px; display: flex; align-items: center; margin-top: var(--nav-h); }
.palillo-marquee-track { display: inline-flex; gap: 2rem; animation: marquee 18s linear infinite; font-weight: 900; font-size: 1rem; letter-spacing: .25em; text-transform: uppercase; }
.palillo-marquee-track span + span { margin-left: 2rem; }
.pm-star { color: #F2C12B; }

/* Paper texture overlay */
.palillo-paper { position: absolute; inset: 0; opacity: .3; pointer-events: none; mix-blend-mode: multiply; background-size: cover; }
.p-paper-overlay { mix-blend-mode: overlay; opacity: .2; }
.p-paper-multiply { mix-blend-mode: multiply; opacity: .3; }

/* Decorative SVG elements */
.p-deco { position: absolute; pointer-events: none; }
.p-deco-star1 { top: 5rem; right: 2rem; width: clamp(80px,12vw,160px); height: clamp(80px,12vw,160px); opacity: .9; }
.p-deco-star2 { bottom: 6rem; left: 1rem; width: clamp(60px,9vw,120px); height: clamp(60px,9vw,120px); opacity: .8; }
.p-deco-star3 { top: 3rem; right: 3rem; width: 100px; height: 100px; opacity: .8; }
.p-deco-star4 { top: 2rem; left: 2rem; width: 120px; height: 120px; opacity: .55; }
.p-deco-star5 { bottom: 2rem; right: 4rem; width: 100px; height: 100px; opacity: .65; }
.p-deco-star6 { top: 50%; right: 20%; width: 100px; height: 100px; opacity: .25; }
.p-deco-star7 { top: 3rem; right: 3rem; width: 100px; height: 100px; opacity: .75; }
.p-deco-star8 { bottom: 3rem; left: 2rem; width: 80px; height: 80px; opacity: .65; }
.p-deco-light1 { top: 10rem; left: 30%; width: clamp(48px,6vw,80px); opacity: .65; display: none; }
.p-deco-light2 { top: 4rem; left: 3rem; width: clamp(56px,7vw,96px); opacity: .9; }
.p-deco-light3 { bottom: 4rem; right: 4rem; width: clamp(64px,8vw,112px); opacity: .8; }
.p-deco-light4 { top: 3rem; right: 5rem; width: clamp(56px,7vw,96px); opacity: .8; }

/* Logo */
.palillo-logo { display: block; width: auto; }
.palillo-logo-lg { height: clamp(8rem,20vw,16rem); }
.palillo-logo-sm { height: clamp(4rem,10vw,8rem); }

/* Sections */
.palillo-section { position: relative; padding-block: clamp(4rem,10vw,8rem); padding-inline: clamp(1.5rem,5vw,3rem); }
.palillo-container { max-width: var(--max-w); margin-inline: auto; }

/* Hero */
.palillo-hero { background: #F5EFE0; border-bottom: 12px dashed #C72E3D; padding-top: 5rem; padding-bottom: clamp(3rem,8vw,7rem); }
.palillo-hero-inner { max-width: var(--max-w); margin-inline: auto; position: relative; z-index: 1; }
.palillo-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; margin-top: 3rem; }
.palillo-hero-img-wrap { position: relative; }
.palillo-hero-img-frame { background: #000; padding: .75rem; transform: rotate(-2deg); box-shadow: 12px 12px 0 #C72E3D; transition: transform .5s; }
.palillo-hero-img-frame:hover { transform: rotate(0); }
.palillo-hero-img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(100%) contrast(1.2); display: block; }
.palillo-date-tag { position: absolute; top: -1rem; right: -1rem; background: #F2C12B; color: #000; font-weight: 900; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; padding: .5rem .75rem; transform: rotate(12deg); border: 2px solid #000; }
.palillo-hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.palillo-lines { display: flex; flex-direction: column; gap: .4rem; }
.pline { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem,9vw,5rem); text-transform: uppercase; letter-spacing: -.02em; padding: .05em .3em; display: inline-block; }
.pline-cream { background: #F5EFE0; color: #C72E3D; border: 2px solid #C72E3D; transform: rotate(-1deg); }
.pline-red   { background: #C72E3D; color: #F5EFE0; transform: rotate(1deg); }
.pline-yellow{ background: #F2C12B; color: #000; transform: rotate(-2deg); }
.palillo-badge { display: inline-block; background: #000; color: #F2C12B; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; padding: .75rem 1.25rem; transform: rotate(-1deg); border: 2px solid #F2C12B; }
.palillo-cta-btn { display: inline-block; background: #C72E3D; color: #F5EFE0; border: 4px solid #000; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem,3vw,1.5rem); padding: .9rem 2rem; box-shadow: 8px 8px 0 #000; cursor: pointer; transition: box-shadow .2s, transform .2s; letter-spacing: .05em; }
.palillo-cta-btn:hover { box-shadow: 4px 4px 0 #000; transform: translate(4px,4px); }

/* Mono labels */
.palillo-mono-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #C72E3D; margin-bottom: 1rem; }
.yellow-label { color: #F2C12B; }
.palillo-mono-red { color: #C72E3D; }

/* Section titles */
.palillo-section-title { font-family: var(--font-display); font-size: clamp(3rem,9vw,7rem); font-weight: 900; text-transform: uppercase; line-height: .88; margin-bottom: 2rem; }
.red-title { color: #C72E3D; }

/* Genesis */
.palillo-genesis { border-top: 12px dashed #C72E3D; background: #F5EFE0; }
.palillo-genesis-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.palillo-genesis-body { display: flex; flex-direction: column; gap: 1.5rem; font-size: clamp(1rem,2vw,1.25rem); color: rgba(0,0,0,.8); line-height: 1.7; }
.palillo-red-bold { font-weight: 700; color: #C72E3D; }

/* Experience */
.palillo-exp-section { background: #C72E3D; color: #F5EFE0; border-top: 8px solid #000; border-bottom: 8px solid #000; }
.palillo-exp-title { font-family: var(--font-display); font-size: clamp(4rem,12vw,10rem); font-weight: 900; text-transform: uppercase; line-height: .85; margin-bottom: 2rem; color: #F5EFE0; }
.palillo-exp-main { font-size: clamp(1.2rem,3vw,2rem); font-weight: 700; max-width: 900px; margin-bottom: 1.5rem; line-height: 1.4; }
.palillo-exp-result { font-size: clamp(1.1rem,2.5vw,1.75rem); font-weight: 900; text-transform: uppercase; color: #F2C12B; max-width: 750px; }

/* Gastronomy */
.palillo-gastro { background: #F5EFE0; border-bottom: 12px dashed #C72E3D; }
.palillo-gastro-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.palillo-gastro-img-wrap { position: relative; }
.palillo-img-frame { background: #000; padding: .75rem; overflow: hidden; }
.palillo-img-frame img { width: 100%; filter: grayscale(100%) contrast(1.4); display: block; }
.palillo-img-yellow-shadow { transform: rotate(3deg); box-shadow: 16px 16px 0 #F2C12B; transition: transform .5s; }
.palillo-img-yellow-shadow:hover { transform: rotate(0); }
.palillo-tag { position: absolute; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; padding: .4rem .75rem; border: 2px solid #000; }
.palillo-tag-red { background: #C72E3D; color: #F2C12B; top: -1.25rem; left: -1.25rem; transform: rotate(-12deg); }
.palillo-tag-yellow { background: #F2C12B; color: #000; }
.palillo-tag-br { bottom: -1rem; right: -1rem; transform: rotate(6deg); }
.palillo-gastro .palillo-section-title { margin-top: 1.5rem; }
.palillo-icon-red { color: #C72E3D; margin-bottom: 1.5rem; }
.palillo-gastro .palillo-genesis-body p { font-size: clamp(.95rem,1.8vw,1.15rem); margin-bottom: 1.25rem; line-height: 1.7; }
.palillo-mechanic-label { font-size: clamp(1rem,2vw,1.25rem); font-weight: 900; text-transform: uppercase; color: #C72E3D; margin-bottom: .75rem; }

/* Sound */
.palillo-sound { background: #000; color: #F5EFE0; border-top: 8px dashed #C72E3D; border-bottom: 8px dashed #C72E3D; }
.palillo-sound-title { font-family: var(--font-display); font-size: clamp(3rem,9vw,7rem); font-weight: 900; text-transform: uppercase; color: #C72E3D; line-height: .88; margin-bottom: 1.5rem; }
.palillo-music-icon { color: #F2C12B; margin-bottom: 2rem; }
.palillo-sound-main { font-size: clamp(1.5rem,4vw,2.5rem); font-weight: 700; color: #F2C12B; margin-bottom: 3rem; max-width: 700px; }
.palillo-sound-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.palillo-border-left { padding-left: 1.5rem; font-size: clamp(.95rem,1.8vw,1.15rem); line-height: 1.7; border-left: 4px solid; }
.palillo-border-red    { border-left-color: #C72E3D; }
.palillo-border-yellow { border-left-color: #F2C12B; }

/* Locations */
.palillo-locations { background: #F5EFE0; border-bottom: 8px solid #000; }
.palillo-loc-lead { font-size: clamp(1.2rem,3vw,1.75rem); font-weight: 700; margin-bottom: 3rem; }
.palillo-loc-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }
.palillo-loc-card { border: 4px solid; overflow: hidden; transition: transform .5s; }
.palillo-loc-black { background: #000; color: #F5EFE0; border-color: #F2C12B; transform: rotate(-1deg); }
.palillo-loc-red   { background: #C72E3D; color: #F5EFE0; border-color: #000; transform: rotate(1deg); }
.palillo-loc-card:hover { transform: rotate(0) !important; }
.palillo-loc-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.palillo-loc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s, transform .6s; }
.palillo-loc-card:hover .palillo-loc-img img { filter: grayscale(0); transform: scale(1.04); }
.palillo-loc-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); }
.palillo-loc-type { position: absolute; top: 1rem; left: 1rem; background: #F2C12B; color: #000; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; padding: .3rem .6rem; border: 2px solid #000; }
.palillo-loc-type-black { background: #000; color: #F2C12B; }
.palillo-loc-body { padding: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.palillo-loc-body h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; text-transform: uppercase; color: #F2C12B; }
.palillo-loc-body p { font-weight: 300; line-height: 1.6; font-family: var(--font-body); font-size: .95rem; }

/* Add-ons */
.palillo-addons { background: #F2C12B; color: #000; border-top: 8px solid #000; border-bottom: 8px solid #000; }
.palillo-addons-sub { font-size: clamp(1rem,2vw,1.25rem); font-weight: 700; max-width: 700px; margin-inline: auto; color: rgba(0,0,0,.75); margin-bottom: 3rem; font-family: var(--font-body); }
.palillo-addons-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.palillo-addon-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: clamp(1.5rem,4vw,2.5rem); border: 4px solid #000; cursor: pointer; transition: transform .4s, box-shadow .4s; }
.palillo-addon-cream { background: #F5EFE0; transform: rotate(-1deg); }
.palillo-addon-black { background: #000; color: #F5EFE0; border-color: #C72E3D; transform: rotate(1deg); }
.palillo-addon-card:hover { transform: rotate(0) !important; box-shadow: 12px 12px 0 #C72E3D; }
.palillo-addon-black:hover { box-shadow: 12px 12px 0 #F5EFE0; }
.palillo-addon-label { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem,4vw,2rem); letter-spacing: .1em; margin-bottom: 1.25rem; padding: .3rem 1rem; transition: background .3s, color .3s; }
.palillo-addon-label-dashed { border: 4px dashed #000; }
.palillo-addon-card:hover .palillo-addon-label-dashed { background: #000; color: #F2C12B; }
.palillo-addon-label-solid { background: #F5EFE0; color: #000; border: 2px solid #000; }
.palillo-addon-desc { font-family: var(--font-body); font-size: clamp(.95rem,1.8vw,1.1rem); font-weight: 700; line-height: 1.6; color: #C72E3D; margin-bottom: 1.5rem; flex: 1; }
.palillo-addon-desc-yellow { color: #F2C12B; }
.palillo-addon-link { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; transition: transform .25s; display: inline-block; }
.palillo-addon-card:hover .palillo-addon-link { transform: translateX(6px); }

/* Vision */
.palillo-vision { background: #F5EFE0; border-bottom: 12px dashed #C72E3D; }
.palillo-vision-body { font-family: var(--font-body); font-size: clamp(1rem,2vw,1.25rem); color: rgba(0,0,0,.75); line-height: 1.7; max-width: 800px; margin-inline: auto; margin-bottom: 3rem; }
.palillo-mantras { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.palillo-mantra { display: inline-block; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem,3vw,2rem); padding: .4em .8em; letter-spacing: .03em; }
.palillo-mantra-red   { background: #C72E3D; color: #F5EFE0; border: 2px solid #000; transform: rotate(-1deg); }
.palillo-mantra-black { background: #000; color: #F2C12B; transform: rotate(1deg); }

/* Grand Opening */
.palillo-opening { background: #C72E3D; color: #F5EFE0; }
.palillo-opening-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.palillo-venue-img-wrap { background: #000; padding: .75rem; transform: rotate(1deg); box-shadow: 16px 16px 0 #F2C12B; transition: transform .5s; }
.palillo-venue-img-wrap:hover { transform: rotate(0); }
.palillo-venue-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(100%) contrast(1.2); display: block; }
.palillo-opening-title { font-family: var(--font-display); font-size: clamp(3rem,9vw,7rem); font-weight: 900; text-transform: uppercase; line-height: .88; margin-bottom: 2rem; color: #F5EFE0; }
.palillo-event-details { background: #000; border: 4px solid #F2C12B; padding: 1.5rem; transform: rotate(-1deg); margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.palillo-detail-row { display: flex; align-items: flex-start; gap: 1rem; }
.palillo-detail-label { font-family: var(--font-mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; color: #F2C12B; margin-bottom: .25rem; }
.palillo-detail-value { font-family: var(--font-display); font-size: clamp(1.1rem,2.5vw,1.5rem); font-weight: 900; }
.palillo-opening-desc { font-family: var(--font-body); font-size: clamp(.95rem,1.8vw,1.1rem); line-height: 1.7; margin-bottom: 1.5rem; }
.palillo-opening-pitch { font-family: var(--font-display); font-size: clamp(1.1rem,2.5vw,1.5rem); font-weight: 900; text-transform: uppercase; color: #F2C12B; line-height: 1.3; border-left: 4px solid #F2C12B; padding-left: 1.25rem; }

/* Final CTA */
.palillo-final-cta { background: #000; color: #F5EFE0; }
.palillo-final-cta .palillo-logo { margin-inline: auto; margin-bottom: 3rem; }
.palillo-cta-title { font-family: var(--font-display); font-size: clamp(2rem,6vw,4rem); font-weight: 900; text-transform: uppercase; color: #F2C12B; line-height: 1.1; max-width: 700px; margin-inline: auto; margin-bottom: 3rem; }
.palillo-contact-card { display: inline-flex; flex-direction: column; align-items: center; background: #C72E3D; border: 4px solid #F2C12B; padding: 2.5rem; transform: rotate(-1deg); margin-bottom: 3rem; gap: .5rem; }
.palillo-contact-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.palillo-contact-role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; color: #F2C12B; text-transform: uppercase; margin-bottom: .75rem; }
.palillo-contact-phone { font-family: var(--font-display); font-size: clamp(1.5rem,4vw,2.5rem); font-weight: 900; letter-spacing: -.02em; transition: color .25s; }
.palillo-contact-phone:hover { color: #F2C12B; }
.palillo-contact-email { font-family: var(--font-body); font-size: .95rem; transition: color .25s; }
.palillo-contact-email:hover { color: #F2C12B; }
.palillo-cta-yellow { background: #F2C12B; color: #000; border-color: #F2C12B; box-shadow: 8px 8px 0 #C72E3D; }
.palillo-cta-yellow:hover { background: #F5EFE0; border-color: #F5EFE0; box-shadow: 4px 4px 0 #C72E3D; }
.palillo-socials { display: flex; gap: .75rem; justify-content: center; margin-top: 2rem; }
.palillo-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid rgba(242,193,43,.4); color: #F2C12B; opacity: .7; transition: opacity .2s;
}
.palillo-socials a:hover { opacity: 1; }

/* Responsive */
@media (min-width: 640px) {
  .palillo-hero-grid   { grid-template-columns: repeat(2, 1fr); align-items: end; }
  .palillo-genesis-grid{ grid-template-columns: 2fr 3fr; }
  .palillo-gastro-grid { grid-template-columns: repeat(2, 1fr); }
  .palillo-loc-grid    { grid-template-columns: repeat(2, 1fr); }
  .palillo-addons-grid { grid-template-columns: repeat(2, 1fr); }
  .palillo-opening-grid{ grid-template-columns: repeat(2, 1fr); }
  .palillo-sound-cols  { grid-template-columns: repeat(2, 1fr); }
  .p-deco-light1       { display: block; }
}

/* ── GLightbox skin overrides ─────────────────────────────────────────────── */
.glightbox-clean .goverlay { background: rgba(0,0,0,.96); }
.glightbox-clean .gslide-image img { border: 2px solid rgba(255,255,255,.08); }
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: var(--yellow);
  border-radius: 0;
  width: 48px; height: 48px;
}
.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg { color: var(--black); }
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover { background: var(--white); }
.glightbox-clean .gclose {
  background: var(--yellow);
  border-radius: 0;
  width: 40px; height: 40px;
  top: 1rem; right: 1rem;
}
.glightbox-clean .gclose svg { color: var(--black); }
.glightbox-clean .gclose:hover { background: var(--white); }
.glightbox-clean .gdesc-inner { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-text); }
.gslide-description { background: #0a0a0a !important; border-top: 2px solid var(--yellow); }

/* ── Subsite footer ─────────────────────────────────────────────────────────── */
.subsite-footer { background: #0a0a0a; border-top: 1px solid var(--gray-border); }
.subsite-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.subsite-footer-text { color: var(--gray-text); font-size: .875rem; font-weight: 300; }
.subsite-footer-link { color: var(--yellow); font-weight: 700; text-decoration: none; transition: opacity .2s; }
.subsite-footer-link:hover { opacity: .75; }
.subsite-footer-copy { font-size: .75rem; color: #4b5563; }
.subsite-footer-socials { display: flex; gap: .5rem; align-items: center; }
.subsite-footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1px solid #4b5563; color: var(--gray-text); transition: border-color .2s, color .2s;
}
.subsite-footer-socials a:hover { border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 600px) {
  .subsite-footer-inner { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}

/* ── Print ──────────────────────────────────────────────────────────────────── */
@media print {
  .tb-nav, .tb-footer, .petic-marquee { display: none !important; }
  .page-inner { padding-top: 0 !important; }
}