/* ==========================================================================
   Veniero's Pasticceria & Caffè — stylesheet
   Palette pulled from the storefront neon sign (red/green) + marble/brass.
   ========================================================================== */

:root {
  --ink: #0e0906;           /* near-black espresso ground */
  --red: #c81e2c;           /* neon sign red */
  --red-bright: #e4283a;
  --green: #1f7a4d;         /* awning neon green */
  --cream: #f6efe2;         /* marble / cheesecake cream */
  --umber: #2a1810;         /* dark umber, card bg on cream */
  --umber-soft: #3a2419;
  --brass: #d4a24c;         /* brass / gold hairlines */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--umber);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .75em;
}
.eyebrow-light { color: var(--brass); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(246,239,226,.55);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(246,239,226,.08); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,9,6,.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(212,162,76,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 500;
}
.site-nav a {
  text-decoration: none;
  color: var(--cream);
  opacity: .88;
}
.site-nav a:hover { opacity: 1; color: var(--brass); }
.nav-cta {
  background: var(--red);
  color: #fff !important;
  opacity: 1 !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--red-bright); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(14,9,6,.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s var(--ease);
  }
  .site-nav.is-open { max-height: 420px; }
  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(212,162,76,.15);
  }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    width: 100%;
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  animation: heroZoom 1.8s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; transform: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6,4,2,.92) 0%, rgba(6,4,2,.55) 42%, rgba(6,4,2,.25) 68%, rgba(6,4,2,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding-top: 140px;
  padding-bottom: 88px;
}

.badge {
  display: inline-block;
  margin: 0 0 20px;
}
.badge span {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brass);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 15ch;
  margin-bottom: .35em;
}
.hero-title em {
  font-style: italic;
  color: var(--red-bright);
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(246,239,226,.86);
  margin-bottom: 1.75em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Sections, general
   ========================================================================== */

.section {
  padding: 96px 0;
}

/* Reveal-on-scroll is strictly an enhancement: content is visible by default
   (no-JS, slow JS, or a script error all fail safe to fully visible). Only
   once main.js confirms it's running and IntersectionObserver is available
   does it arm the hidden starting state via .js-reveal-armed on <html>. */
.reveal {
  opacity: 1;
  transform: none;
}
.js-reveal-armed .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal-armed .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal-armed .reveal { opacity: 1; transform: none; transition: none; }
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

/* ==========================================================================
   Story
   ========================================================================== */

.story {
  background: var(--cream);
}
.story-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.story-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(14,9,6,.4);
}
.story-copy p {
  color: var(--umber-soft);
}
.pull-quote {
  margin: 2em 0;
  padding: 1.4em 1.6em;
  border-left: 3px solid var(--red);
  background: rgba(200,30,44,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--umber);
  margin-bottom: .5em;
}
.pull-quote cite {
  font-style: normal;
  font-size: .85rem;
  color: var(--red);
  font-weight: 600;
}
.fine-print {
  font-size: .88rem;
  color: rgba(42,24,16,.7);
  border-top: 1px solid rgba(212,162,76,.35);
  padding-top: 1em;
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   What we bake
   ========================================================================== */

.bakes {
  background: var(--ink);
  padding: 0 0 96px;
  color: var(--cream);
}
.bakes-header {
  position: relative;
  height: 46vh;
  min-height: 320px;
  margin-bottom: 64px;
  overflow: hidden;
}
.bakes-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.bakes-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,9,6,.15) 0%, rgba(14,9,6,.88) 96%);
}
.bakes-header-text {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  z-index: 2;
}
.bakes-header-text h2 { color: var(--cream); margin: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: var(--umber);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,162,76,.18);
}
.card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.card h3 {
  font-size: 1.15rem;
  color: var(--cream);
  margin: .9em .9em .35em;
}
.card p {
  font-size: .92rem;
  color: rgba(246,239,226,.72);
  margin: 0 .9em 1.1em;
}

.menus-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(212,162,76,.25);
  font-size: .96rem;
  color: rgba(246,239,226,.8);
  max-width: 72ch;
}
.menus-note a {
  color: var(--brass);
  text-decoration: underline;
}

/* ==========================================================================
   Cakes
   ========================================================================== */

.cakes {
  background: var(--cream);
}
.cakes-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.cakes-copy p { color: var(--umber-soft); }
.cakes-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cakes-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: zoom-in;
  box-shadow: 0 20px 40px -20px rgba(14,9,6,.35);
}

@media (max-width: 860px) {
  .cakes-grid { grid-template-columns: 1fr; gap: 32px; }
  .cakes-copy { order: 1; }
  .cakes-gallery { order: 2; }
}

/* ==========================================================================
   Fans / press
   ========================================================================== */

.fans {
  background: var(--umber);
  color: var(--cream);
  text-align: center;
}
.fan-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--brass);
  margin-bottom: .3em;
}
.fan-attribution {
  font-size: .9rem;
  color: rgba(246,239,226,.65);
  margin-bottom: 2em;
}
.press-line {
  max-width: 68ch;
  margin: 0 auto 2.5em;
  font-size: .95rem;
  color: rgba(246,239,226,.78);
}
.press-line em { font-style: italic; color: var(--cream); }

.history-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.history-strip img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212,162,76,.4);
  filter: grayscale(.25) sepia(.15);
}

/* ==========================================================================
   Visit
   ========================================================================== */

.visit {
  background: var(--cream);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}
.visit-card {
  background: #fff;
  border: 1px solid rgba(42,24,16,.1);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.visit-card h3 {
  font-size: 1.25rem;
  color: var(--red);
}
.addr {
  font-size: 1rem;
  color: var(--umber-soft);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: .95rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 6px 0;
  border-bottom: 1px solid rgba(42,24,16,.08);
}
.hours th {
  font-weight: 600;
  color: var(--umber);
  width: 40%;
}
.visit-note {
  font-size: .88rem;
  color: rgba(42,24,16,.68);
  margin-bottom: .6em;
}
.visit-contact {
  padding: 24px 0 0;
}
.visit-contact a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}
.visit-contact a:hover { text-decoration: underline; }
.socials { margin-top: 6px; font-size: .92rem; }
.socials a { color: var(--umber-soft); font-weight: 500; }

.visit-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(14,9,6,.35);
}

@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; gap: 32px; }
  .visit-media { order: -1; }
}

/* ==========================================================================
   Jobs
   ========================================================================== */

.jobs {
  background: var(--ink);
  color: var(--cream);
}
.jobs-inner { max-width: 74ch; }
.jobs h2 { color: var(--cream); }
.jobs > .wrap > p { color: rgba(246,239,226,.82); }
.jobs-list {
  padding-left: 1.2em;
  margin: 1.4em 0;
}
.jobs-list li {
  margin-bottom: .7em;
  color: rgba(246,239,226,.85);
}
.jobs-req {
  font-size: .9rem;
  color: rgba(246,239,226,.65);
  margin-bottom: 2em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #080503;
  color: rgba(246,239,226,.75);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212,162,76,.15);
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand img { border-radius: 50%; }
.footer-brand p { font-size: .92rem; margin: 0; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 .8em;
}
.footer-col p { font-size: .92rem; margin: 0; }
.footer-col a {
  color: rgba(246,239,226,.75);
  text-decoration: none;
}
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  padding: 24px 0 32px;
  font-size: .82rem;
  color: rgba(246,239,226,.45);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6,4,2,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: transparent;
  border: 1px solid rgba(246,239,226,.4);
  color: var(--cream);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--brass); color: var(--brass); }

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

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-content { padding-top: 120px; padding-bottom: 56px; }
  .cakes-gallery { grid-template-columns: 1fr; }
}
