/*
 * O.W.P. — Old World Pizzeria
 * Block theme styles — v6 refined.
 * Fonts: Playfair Display, Pinyon Script, DM Sans.
 */

:root {
  --paper: #FBF8F1;
  --paper-2: #F4EEE0;
  --ink: #1C1A17;
  --muted: #6B665C;
  --blue: #ACC4DC;
  --blue-deep: #3E5C70;
  --cream: #F4E3A1;
  --gold: #BE9B45;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { scroll-margin-top: 40px; }

/* WP block-theme resets */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { max-width: none; }

/* ========== type roles ========== */
.serif  { font-family: "Playfair Display", serif; }
.script { font-family: "Pinyon Script", cursive; font-weight: 400; }
.label  { font-family: "DM Sans", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .26em; font-size: .7rem; }

/* ornament */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 54px; background: var(--gold); opacity: .7; }
.ornament span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ========== buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: "DM Sans", sans-serif; font-weight: 600;
  text-decoration: none; cursor: pointer;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 1rem 2rem; border: 1px solid var(--ink); border-radius: 1px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn-fill  { background: var(--ink); color: var(--paper); }
.btn-fill:hover  { background: transparent; color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); border-color: var(--ink); }
.btn-cream:hover { background: transparent; }
.btn-line  { background: transparent; color: var(--ink); }
.btn-line:hover  { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ========== header ========== */
header.site { padding: 34px 0 0; text-align: center; background: var(--paper); }
.logo { display: inline-block; text-decoration: none; color: var(--ink); }
.logo .mark { font-family: "Playfair Display", serif; font-weight: 900; font-size: 2.1rem; letter-spacing: .14em; line-height: 1; }
.logo .sub  { display: block; margin-top: 8px; font-weight: 600; font-size: .64rem; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.site-nav { margin-top: 26px; border-top: 1px solid rgba(28,26,23,.12); border-bottom: 1px solid rgba(28,26,23,.12); }
.site-nav ul { list-style: none; margin: 0; padding: 16px 0; display: flex; justify-content: center; gap: 2.6rem; flex-wrap: wrap; }
.site-nav li { display: inline; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  position: relative; padding-bottom: 3px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }

/* ========== hero ========== */
.hero {
  position: relative; text-align: center;
  padding: 120px 0 108px; overflow: hidden;
  background:
    radial-gradient(40% 60% at 22% 70%, rgba(196,86,42,.55) 0%, rgba(120,55,25,0) 55%),
    radial-gradient(30% 42% at 70% 30%, rgba(214,150,40,.42) 0%, rgba(120,80,20,0) 55%),
    radial-gradient(52% 60% at 82% 82%, rgba(150,30,25,.45) 0%, rgba(90,20,15,0) 60%),
    linear-gradient(135deg, #5a3a1e 0%, #3d2814 46%, #241810 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,14,8,.46) 0%, rgba(20,14,8,.30) 42%, rgba(20,14,8,.58) 100%),
    radial-gradient(72% 70% at 50% 45%, rgba(172,196,220,.16) 0%, rgba(172,196,220,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { color: #dfe9f1; }
.hero .eat {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: .9; color: #fff;
  margin: .2em 0 0;
  text-shadow: 0 3px 22px rgba(0,0,0,.5);
}
.hero .tagline {
  font-family: "Playfair Display", serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: #f0ece4;
  margin: 0 auto 2rem; max-width: 520px;
}
.hero .note {
  margin-top: 1.6rem; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: #cfe0ec; font-weight: 600;
}

/* hero load-in animation */
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFocus { from { opacity: 0; transform: translateY(22px) scale(.97); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero .wrap > * { opacity: 0; animation: heroUp .9s ease forwards; }
.hero .wrap > .eyebrow { display: inline-block; animation-delay: .1s; }
.hero .wrap > .eat { animation: heroFocus 1.15s cubic-bezier(.2,.7,.2,1) .32s forwards; }
.hero .wrap > .ornament { animation-delay: .64s; }
.hero .wrap > .tagline { animation-delay: .78s; }
.hero .wrap > a.btn { animation-delay: .94s; }
.hero .wrap > .note { animation-delay: 1.08s; }

/* ========== feature strip ========== */
.features { background: var(--blue); border-top: 1px solid rgba(28,26,23,.14); border-bottom: 1px solid rgba(28,26,23,.14); }
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--maxw); margin: 0 auto; }
.feat { padding: 40px 28px; text-align: center; border-right: 1px solid rgba(28,26,23,.16); transition: background .25s ease; }
.feat:last-child { border-right: 0; }
.feat:hover { background: rgba(255,255,255,.20); }
.feat .ft-t { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.feat .ft-s { margin-top: .35rem; font-size: .78rem; letter-spacing: .05em; color: #2c4452; }

/* ========== generic sections ========== */
section.block { padding: 118px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.sec-head .label { color: var(--blue-deep); display: block; margin-bottom: 1rem; }
.sec-head h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2rem, 4.6vw, 3rem); margin: 0; line-height: 1.08; }
.sec-head p { margin: 1rem auto 0; color: var(--muted); font-size: 1.05rem; }

/* ========== cards ========== */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card {
  background: var(--paper); border-radius: 3px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(28,26,23,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 56px rgba(28,26,23,.13); }
.card .ph { aspect-ratio: 4/3; background: var(--blue) center/cover no-repeat; }
.card .body { padding: 26px 26px 30px; }
.card .cname { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.32rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.card .price { font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.1rem; color: var(--gold); white-space: nowrap; }
.card .cdesc { color: var(--muted); font-size: .96rem; margin: .6rem 0 0; line-height: 1.6; }
.menu-note { text-align: center; margin-top: 54px; }
.scarcity {
  display: inline-block; font-family: "DM Sans"; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-size: .74rem;
  color: var(--blue-deep); border: 1px solid rgba(62,92,112,.4);
  padding: .7rem 1.4rem; border-radius: 1px;
}

/* ========== crumb band ========== */
.band {
  position: relative; min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: var(--ink) center/cover no-repeat;
}
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,18,15,.45), rgba(20,18,15,.55)); }
.band-inner { position: relative; z-index: 2; max-width: 640px; padding: 80px 28px; }
.band .script { font-size: clamp(2.8rem, 7vw, 4.4rem); color: var(--cream); line-height: 1; }
.band p { font-size: clamp(1.05rem, 2.4vw, 1.25rem); margin: 1.2rem auto 0; color: #f0ece4; }

.alt { background: var(--paper-2); }

/* ========== our story ========== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo {
  aspect-ratio: 4/5; border-radius: 3px;
  background: var(--blue) center/cover no-repeat;
  box-shadow: 0 22px 50px rgba(28,26,23,.14);
}
.split h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2rem, 4.4vw, 2.9rem); margin: .4rem 0 1.2rem; line-height: 1.1; }
.split .label { color: var(--blue-deep); }
.split p { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.1rem; }

/* ========== sweets ========== */
.sweets { text-align: center; }
.sweet-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 840px; margin: 0 auto; }
.sweet-item .photo {
  aspect-ratio: 4/3; border-radius: 3px;
  background: var(--blue) center/cover no-repeat;
  box-shadow: 0 18px 44px rgba(28,26,23,.1);
}
.sweet-item .cap { margin-top: 1rem; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.2rem; }
.sweet-item .subdesc { font-size: .92rem; color: var(--muted); }

/* ========== drops ========== */
.drops { background: var(--ink); color: var(--paper); text-align: center; }
.drops .wrap, .drops .script, .drops p, .drops .label { text-align: center; margin-left: auto; margin-right: auto; }
.drops .label { color: var(--blue); }
.drops .script { color: var(--cream); font-size: clamp(2.8rem, 7vw, 4.4rem); line-height: 1; margin: .3rem 0; }
.drops p { max-width: 560px; margin: 1.4rem auto 2rem; color: #d9d4ca; font-size: 1.05rem; }

/* ========== hiring ========== */
.hiring { background: var(--blue); text-align: center; }
.hiring .label { color: var(--blue-deep); }
.hiring h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2rem, 4.6vw, 3rem); margin: .4rem 0 1rem; color: var(--ink); }
.hiring p { max-width: 560px; margin: 0 auto 2rem; color: #243845; font-size: 1.05rem; }

/* ========== visit ========== */
.visit .split { align-items: center; }
.visit h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2rem, 4.4vw, 2.8rem); margin: .4rem 0 1.4rem; }
.visit .row { display: flex; gap: 1rem; margin: 0 0 1.1rem; font-size: 1.02rem; }
.visit .row b { min-width: 84px; display: inline-block; font-family: "Playfair Display"; font-weight: 700; }
.map { border-radius: 3px; overflow: hidden; min-height: 360px; background: var(--blue); box-shadow: 0 22px 50px rgba(28,26,23,.14); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ========== signup ========== */
.signup { background: var(--blue); text-align: center; }
.signup h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; color: var(--ink); }
.signup p { margin: 0 auto 2rem; max-width: 520px; color: #243845; }
.signup-form { display: flex; gap: .7rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.signup-form input {
  flex: 1; min-width: 230px; font-family: "DM Sans"; font-size: 1rem;
  padding: 1rem 1.1rem; border: 1px solid var(--ink); border-radius: 1px; background: var(--paper);
}
.signup-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.signup .fine { font-size: .8rem; margin-top: 1.2rem; color: #2c4452; }

/* ========== footer ========== */
footer.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 40px; }
.foot-inner { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand .mark { font-family: "Playfair Display"; font-weight: 900; font-size: 1.8rem; letter-spacing: .12em; }
.foot-brand .tag  { font-family: "Pinyon Script"; font-size: 1.8rem; color: var(--cream); margin-top: .3rem; }
.foot-col .label { color: var(--blue); margin-bottom: 1rem; display: block; }
.foot-col a { display: block; text-decoration: none; color: #cfc9bd; margin: .5rem 0; font-size: .95rem; }
.foot-col a:hover { color: var(--cream); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; font-size: .8rem; color: #9a948a; text-align: center; letter-spacing: .04em; }

/* ========== scroll reveal ========== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== responsive ========== */
@media (max-width: 880px) {
  .features-inner { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(2) { border-right: 0; }
  .feat { border-bottom: 1px solid rgba(28,26,23,.1); }
  .grid3, .split, .sweet-pair { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .site-nav ul { gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .wrap > * { opacity: 1 !important; animation: none !important; filter: none !important; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
