/* PA i PUNT · home */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.h2 { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; margin: 10px 0 0; letter-spacing: -.02em; }
.h2 em, .hero-t em, .film-q em { font-style: italic; }
.h3 { font-size: 36px; margin: 0 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); }
section { scroll-margin-top: 70px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px 22px; transition: background .3s, box-shadow .3s, padding .3s; }
.nav-logo img { height: 46px; width: auto; filter: invert(1); transition: filter .3s, height .3s; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; opacity: .92; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 11px 20px; background: #fff; color: var(--ink); }
.nav.solid { background: rgba(244, 240, 232, .95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 9px 22px; }
.nav.solid .nav-logo img { filter: none; height: 40px; }
.nav.solid .nav-links a { color: var(--ink); }
.nav.solid .nav-cta { background: var(--ink); color: var(--paper); }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.9); border-radius: 50%; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--ink); transition: transform .25s; }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 35; background: var(--mint); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 80px 28px 40px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.mnav.on { transform: none; }
.mnav a:not(.btn) { font-family: var(--serif); font-size: 42px; text-decoration: none; line-height: 1.15; }
.mnav .btn { margin-top: 24px; align-self: flex-start; }
@media (max-width: 1020px) { .nav-links, .nav-cta { display: none; } .nav-burger { display: block; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2b2118; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: heroIn 2.4s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 10, .45) 0%, rgba(20, 15, 10, 0) 26%, rgba(20, 15, 10, .15) 45%, rgba(20, 15, 10, .82) 100%), linear-gradient(90deg, rgba(20, 15, 10, .45), transparent 60%); }
.hero-in { position: relative; z-index: 2; padding: 0 22px 110px; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-eb { opacity: .9; margin: 0 0 14px; }
.hero-t { font-size: clamp(50px, 7.4vw, 108px); line-height: .92; margin: 0; letter-spacing: -.025em; max-width: 13ch; text-wrap: balance; }
.hero-s { font-size: clamp(17px, 1.7vw, 20px); max-width: 520px; margin: 20px 0 28px; color: rgba(255, 255, 255, .9); }
.hero-a { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-status { position: absolute; z-index: 3; right: 22px; bottom: 34px; color: var(--ink); text-decoration: none; max-width: calc(100% - 44px); }
.hero-in > * { opacity: 0; transform: translateY(18px); animation: up .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-in > :nth-child(2) { animation-delay: .1s; } .hero-in > :nth-child(3) { animation-delay: .2s; } .hero-in > :nth-child(4) { animation-delay: .3s; }
@keyframes up { to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .hero-in { padding-bottom: 96px; } .hero-status { left: 22px; right: auto; bottom: 30px; font-size: 12.5px; } }

/* marquee */
.marquee { background: var(--ink); color: var(--mint); overflow: hidden; padding: 16px 0; }
.mq { display: flex; gap: 26px; width: max-content; animation: mq 32s linear infinite; font-family: var(--serif); font-size: 30px; white-space: nowrap; align-items: center; }
.mq i { font-style: normal; font-size: 18px; color: var(--sage); }
@keyframes mq { to { transform: translateX(-50%); } }

/* about */
.about { padding: 110px 0 80px; }
.about-g { display: grid; gap: 30px; }
@media (min-width: 900px) { .about-g { grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; } }
.about-txt p { margin: 0 0 14px; } .about-txt p:not(.lead) { color: var(--ink-2); }
.about-ph { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 56px; height: clamp(300px, 42vw, 560px); }
.about-ph .ph:first-child { border-radius: 20px; }
@media (max-width: 700px) { .about-ph { grid-template-columns: 1fr 1fr; height: 300px; } }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin-top: 64px; border-top: 1.5px solid var(--ink); }
.pl { padding: 22px 22px 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pl + .pl { border-left: 1px solid var(--line); padding-left: 22px; } .pl { border-bottom: 0; } }
.pl-n { font-size: 44px; line-height: 1; color: var(--sage); }
.pl h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.pl p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* com encarregar */
.how { background: var(--orange); color: #fff; padding: 100px 0 110px; margin: 30px 0; }
.how .eyebrow { color: rgba(255, 255, 255, .85); }
.how-head { max-width: 760px; }
.how-live { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 10px; background: rgba(255, 255, 255, .95); color: var(--ink); padding: 11px 18px 11px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 26px 26px 26px 0; border-top: 1.5px solid rgba(255, 255, 255, .5); }
@media (min-width: 900px) { .steps li + li { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .3); } }
.st-n { font-size: 64px; line-height: 1; display: block; }
.steps h3 { font-size: 22px; margin: 16px 0 8px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.steps p { margin: 0; color: rgba(255, 255, 255, .92); }
.how-foot { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1.5px solid rgba(255, 255, 255, .5); }
.dl { display: flex; gap: 26px; flex-wrap: wrap; }
.dl span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.dl b { font-family: var(--serif); font-weight: 400; font-size: 24px; }

/* vídeo */
.film { position: relative; height: min(92vh, 900px); min-height: 520px; overflow: hidden; background: #1b1714; display: grid; place-items: center; margin-top: -30px; }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 12, 10, .35), rgba(15, 12, 10, .7)); }
.film-q { position: relative; z-index: 2; color: #fff; text-align: center; font-size: clamp(38px, 6.2vw, 92px); line-height: 1.02; max-width: 15ch; margin: 0 22px; letter-spacing: -.02em; text-wrap: balance; }
.film-q em { color: var(--mint-2); }

/* procés */
.proc { padding: 110px 0 90px; }
.proc-head { max-width: 780px; }
.proc-head .lead { margin-top: 20px; }
.ferm { display: grid; gap: 14px; margin: 50px 0 40px; }
@media (min-width: 800px) { .ferm { grid-template-columns: 1fr 1.3fr .8fr; } }
.ferm-ph { min-height: 260px; }
.ferm-c { background: #fff; border-radius: 22px; padding: 28px; }
.ferm-c.cold { background: var(--mint); }
.ferm-c b { display: block; font-size: clamp(76px, 10vw, 140px); line-height: .9; font-weight: 400; letter-spacing: -.03em; margin: 12px 0 14px; }
.ferm-c p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.tl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); counter-reset: t; position: relative; }
.tl li { counter-increment: t; padding: 46px 14px 0 0; position: relative; }
.tl li::before { content: counter(t); position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; font-weight: 700; z-index: 1; }
.tl li::after { content: ''; position: absolute; top: 14px; left: 30px; right: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 11px); }
.tl li:last-child::after { display: none; }
.tl b { display: block; font-size: 16px; }
.tl span { font-size: 14px; color: var(--ink-3); }
.flours { margin-top: 90px; }
.fl-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.fl { border: 1.5px solid var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; min-height: 110px; justify-content: flex-end; background: linear-gradient(180deg, transparent 50%, rgba(217, 203, 179, .35)); transition: transform .2s, background .2s; }
.fl:hover { transform: translateY(-3px); background: var(--paper-2); }
.fl b { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.05; }
.fl span { font-size: 13px; color: var(--ink-3); }
.weekbar { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--paper); border-radius: 18px; margin-top: 14px; overflow: hidden; }
.weekbar div { padding: 18px 20px; }
.weekbar div + div { border-left: 1px solid rgba(255, 255, 255, .15); }
.weekbar span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-2); }
.weekbar b { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); }
@media (max-width: 600px) { .weekbar { grid-template-columns: 1fr; } .weekbar div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); } }

/* especials */
.spec { background: var(--sage); color: var(--ink); padding: 100px 0 110px; margin: 30px 0; }
.spec-head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 900px) { .spec-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; } }
.spec .lead { color: #12251d; margin: 0; }
.spec-side { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; }
.spec-ph { aspect-ratio: 4/5; border-radius: 14px; }
@media (max-width: 500px) { .spec-side { grid-template-columns: 96px 1fr; } }
.spec-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 34px; }
.sp { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 20px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.sp.next { background: var(--paper); color: var(--ink); }
.sp .d { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.sp .f { font-family: var(--serif); font-size: 30px; line-height: 1.02; margin-top: 18px; }
.sp .b { align-self: flex-start; margin-top: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--orange); color: #fff; padding: 4px 9px; border-radius: 999px; }
.sp.past { opacity: .45; }

/* dolçaines */
.sweet { padding: 110px 0; }
.sweet-g { display: grid; gap: 50px; }
@media (min-width: 960px) { .sweet-g { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 70px; } }
.sweet-l { list-style: none; padding: 0; margin: 22px 0 30px; }
.sweet-l li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.sweet-l li b { color: var(--ink); }
.sweet-ph { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(440px, 52vw, 640px); }
.ph { margin: 0; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ph:hover img { transform: scale(1.04); }
.ph.a { grid-row: 1 / 3; }

/* cafeteria */
.cafe { display: grid; background: var(--ink); color: var(--paper); }
@media (min-width: 960px) { .cafe { grid-template-columns: 1fr 1fr; min-height: 720px; } }
.cafe-ph { min-height: 380px; position: relative; overflow: hidden; }
.cafe-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cafe-txt { padding: 70px 22px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 960px) { .cafe-txt { padding: 80px 70px; } }
.cafe .eyebrow { color: var(--mint-2); }
.cafe .h2 { font-size: clamp(38px, 4.8vw, 66px); }
.cafe .h2 em { color: var(--mint-2); }
.cafe .lead { color: rgba(244, 240, 232, .8); }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; margin: 20px 0 34px; width: 100%; }
.info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-2); font-weight: 700; margin-bottom: 4px; }
.info dd { margin: 0; font-size: 15.5px; }
.info a { color: var(--paper); }
.cafe .btn-dark { background: var(--mint); color: var(--ink); }

/* final */
.final { background: var(--mint); padding: 110px 0 90px; text-align: center; margin-top: 30px; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.final-logo { height: clamp(110px, 16vw, 180px); width: auto; margin-bottom: 18px; }
.final-t { font-size: clamp(44px, 7vw, 96px); line-height: 1; margin: 0; letter-spacing: -.02em; }
.final p:not(.final-t) { color: var(--ink-2); margin: 0 0 22px; }
.foot { background: var(--mint); border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 13.5px; color: var(--ink-2); }
.foot-g { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.foot p { margin: 0; }

.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: var(--shadow); transform: translateY(120px); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fab.on { transform: none; }
@media (min-width: 1021px) { .fab { display: none; } }

/* aparicions suaus */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .fl-g { grid-template-columns: 1fr 1fr; }
  .fl { min-height: 96px; padding: 14px; }
  .fl b { font-size: 22px; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl li { padding: 0 0 18px 46px; }
  .tl li::after { top: 30px; left: 14px; right: auto; width: 1.5px; height: calc(100% - 30px); background: repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 9px); }
  .spec-g { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px 30px; padding: 0 22px; scrollbar-width: none; }
  .spec-g::-webkit-scrollbar { display: none; }
  .sp { flex: 0 0 72%; scroll-snap-align: start; }
}
