/* ProBread Grissini product landing — warm espresso + toasted gold */

:root {
  --ink: #16110d;
  --ink-soft: #3d342c;
  --muted: #6e6258;
  --paper: #faf7f2;
  --paper-deep: #efe8dc;
  --wood: #1c1410;
  --wood-mid: #2a1f18;
  --toast: #c4893a;
  --toast-bright: #e0a04a;
  --toast-deep: #8f5a1f;
  --kraft: #b8956a;
  --line: rgba(22, 17, 13, 0.12);
  --line-light: rgba(250, 247, 242, 0.16);
  --shadow: 0 24px 60px rgba(22, 17, 13, 0.28);
  --radius: 2px;
  --font-display: "Spectral", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lock-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

/* —— Nav —— */
.g-nav {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--line-light);
  background: rgba(28, 20, 16, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: var(--paper);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.g-nav.is-solid {
  background: rgba(28, 20, 16, 0.92);
  border-color: rgba(250, 247, 242, 0.08);
}

.g-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  cursor: pointer;
}

.g-nav__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.g-nav__tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.g-nav__links {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.g-nav__links a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.g-nav__links a:hover,
.g-nav__links a:focus-visible {
  opacity: 1;
}

.g-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: var(--toast);
  color: var(--wood);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.g-nav__cta:hover,
.g-nav__cta:focus-visible {
  background: var(--toast-bright);
}

@media (min-width: 768px) {
  .g-nav {
    top: 18px;
    left: 24px;
    right: 24px;
    padding: 12px 18px 12px 22px;
  }

  .g-nav__links {
    display: flex;
  }
}

/* —— Buttons —— */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.g-btn:focus-visible {
  outline: 2px solid var(--toast-bright);
  outline-offset: 3px;
}

.g-btn--primary {
  background: var(--toast);
  color: var(--wood);
}

.g-btn--primary:hover {
  background: var(--toast-bright);
}

.g-btn--ghost {
  background: transparent;
  border-color: rgba(250, 247, 242, 0.45);
  color: var(--paper);
}

.g-btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(250, 247, 242, 0.08);
}

.g-btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.g-btn--ink:hover {
  background: var(--wood-mid);
}

.g-btn--block {
  width: 100%;
}

/* —— Hero —— */
.g-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
  background: var(--wood);
}

.g-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.g-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 35%;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease);
}

.g-hero.is-ready .g-hero__media img {
  transform: scale(1);
}

.g-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(22, 17, 13, 0.28) 0%, rgba(22, 17, 13, 0.12) 32%, rgba(22, 17, 13, 0.72) 68%, rgba(22, 17, 13, 0.94) 100%),
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(196, 137, 58, 0.18), transparent 60%);
  pointer-events: none;
}

.g-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 0 56px;
}

.g-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 12ch;
  opacity: 0;
  transform: translateY(18px);
  animation: g-rise 0.9s var(--ease) 0.15s forwards;
}

.g-hero__brand span {
  display: block;
  font-size: 0.34em;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 12px;
}

.g-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  margin: 0 0 14px;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(18px);
  animation: g-rise 0.9s var(--ease) 0.32s forwards;
}

.g-hero__sub {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.05rem;
  color: rgba(250, 247, 242, 0.82);
  opacity: 0;
  transform: translateY(18px);
  animation: g-rise 0.9s var(--ease) 0.45s forwards;
}

.g-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: g-rise 0.9s var(--ease) 0.58s forwards;
}

.g-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 0;
  opacity: 0;
  transform: translateY(18px);
  animation: g-rise 0.9s var(--ease) 0.7s forwards;
}

.g-hero__price strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.g-hero__price span {
  font-size: 0.92rem;
  opacity: 0.7;
}

@keyframes g-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .g-hero__content {
    padding-bottom: 72px;
  }

  .g-hero__media img {
    object-position: 62% 30%;
  }
}

/* —— Shared layout —— */
.g-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.g-section {
  padding: 88px 0;
}

.g-section--tight {
  padding: 64px 0;
}

.g-kicker {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--toast-deep);
}

.g-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

.g-lead {
  margin: 0;
  max-width: 54ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.g-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.g-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Story / what is —— */
.g-story {
  display: grid;
  gap: 40px;
}

@media (min-width: 880px) {
  .g-story {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }
}

.g-story__visual {
  position: relative;
  overflow: hidden;
  background: var(--wood);
  aspect-ratio: 4 / 5;
}

.g-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.g-story__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(22, 17, 13, 0.85));
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.g-story__copy p + p {
  margin-top: 16px;
}

.g-story__copy p {
  margin: 0;
  color: var(--ink-soft);
}

.g-quote {
  margin: 28px 0 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--toast);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}

/* —— Product offer —— */
.g-offer {
  background: var(--wood);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.g-offer::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(196, 137, 58, 0.22), transparent 68%);
  pointer-events: none;
}

.g-offer .g-kicker {
  color: var(--toast-bright);
}

.g-offer .g-title {
  color: var(--paper);
}

.g-offer .g-lead {
  color: rgba(250, 247, 242, 0.78);
}

.g-offer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

@media (min-width: 880px) {
  .g-offer__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 56px;
  }
}

.g-offer__pack {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.g-offer__pack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.g-offer__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.g-specs {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line-light);
}

.g-spec {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.g-spec__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.g-spec__value {
  font-size: 1.05rem;
}

.g-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 8px;
}

.g-price-row__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.g-price-row__meta {
  font-size: 0.95rem;
  opacity: 0.72;
}

/* —— History —— */
.g-history {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

.g-timeline {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-left: 1px solid var(--line);
  padding-left: 0;
}

.g-year {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 28px 0 28px 28px;
}

.g-year::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 36px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--toast);
  box-shadow: 0 0 0 4px var(--paper-deep);
}

.g-year__date {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--toast-deep);
}

.g-year__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.g-year p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .g-timeline {
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    gap: 28px 40px;
  }

  .g-year {
    padding: 24px 0 24px 24px;
    border-left: 1px solid var(--line);
  }
}

/* —— Pairings —— */
.g-pairings__list {
  display: grid;
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .g-pairings__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.g-pair {
  background: var(--paper);
  padding: 28px 24px;
}

.g-pair__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--toast-deep);
}

.g-pair__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.g-pair h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.g-pair p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Sauces (compact people photos, not full-bleed) —— */
.g-sauces__row {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
}

@media (max-width: 640px) {
  .g-sauces__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

.g-sauces__item {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.g-sauces__item img {
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  background: var(--paper-deep);
}

.g-sauces__item span {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 600;
}

/* —— Gallery —— */
.g-gallery {
  background: var(--ink);
  color: var(--paper);
}

.g-gallery .g-kicker {
  color: var(--toast);
}

.g-gallery .g-title {
  color: var(--paper);
}

.g-gallery .g-lead {
  color: rgba(250, 247, 242, 0.72);
}

.g-gallery__grid {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .g-gallery__grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    min-height: 620px;
  }

  .g-gallery__item--hero {
    grid-row: 1 / span 2;
  }
}

.g-gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--wood-mid);
  min-height: 280px;
}

.g-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.g-gallery__item:hover img {
  transform: scale(1.04);
}

.g-gallery__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: rgba(22, 17, 13, 0.72);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* —— Final CTA —— */
.g-final {
  position: relative;
  padding: 100px 0 120px;
  background:
    linear-gradient(135deg, #2a1c14 0%, #16110d 55%, #3a2818 100%);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.g-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("media/logo-stamp.jpg") center / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.g-final .g-wrap {
  position: relative;
  z-index: 1;
}

.g-final .g-title {
  color: var(--paper);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.g-final .g-lead {
  margin: 0 auto 28px;
  color: rgba(250, 247, 242, 0.78);
}

.g-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* —— Sticky buy bar —— */
.g-buybar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  background: rgba(22, 17, 13, 0.94);
  color: var(--paper);
  border: 1px solid rgba(250, 247, 242, 0.1);
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.g-buybar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.g-buybar__info {
  min-width: 0;
}

.g-buybar__name {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.g-buybar__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.g-buybar .g-btn {
  min-height: 46px;
  padding: 0 18px;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .g-buybar {
    left: 50%;
    right: auto;
    width: min(560px, calc(100% - 48px));
    transform: translate(-50%, 120%);
  }

  .g-buybar.is-visible {
    transform: translate(-50%, 0);
  }
}

/* —— Footer —— */
.g-footer {
  padding: 36px 0 110px;
  background: var(--ink);
  color: rgba(250, 247, 242, 0.72);
  font-size: 14px;
}

.g-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.g-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.g-footer strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

/* —— Contact sheet (minimal) —— */
.g-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 8, 6, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  visibility: hidden;
}

.g-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.g-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  max-height: min(86vh, 520px);
  padding: 10px 18px 28px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px 18px 0 0;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
  pointer-events: none;
}

.g-sheet.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.g-sheet__handle {
  width: 42px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: rgba(22, 17, 13, 0.18);
}

.g-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.g-sheet__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.g-sheet__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.g-contact {
  display: grid;
  gap: 10px;
}

.g-contact a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.g-contact a:hover,
.g-contact a:focus-visible {
  border-color: var(--toast);
  background: #fffaf3;
}

.g-contact__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  color: var(--toast-deep);
}

.g-contact__title {
  display: block;
  font-weight: 700;
}

.g-contact__sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.g-contact__chev {
  font-size: 22px;
  opacity: 0.4;
}
