/* ==========================================================
   SUB ROSA PIZZA — minimal / industrial
   black · white · red
   ========================================================== */
/* Fonts are served from this site (assets/fonts) rather than Google Fonts:
   one less outside connection, nothing blocking the first paint, and no visitor
   IP sent to Google. Licence: assets/fonts/LICENSE.txt (SIL OFL 1.1). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #0e0e0e;
  --bg-2: #151515;
  --ink: #f2f1ee;
  --ink-2: rgba(242, 241, 238, .72);
  --ink-3: rgba(242, 241, 238, .5);
  --line: rgba(242, 241, 238, .14);
  --line-2: rgba(242, 241, 238, .28);
  --red: #e3261c;
  --red-hover: #ff3b30;
  --paper: #f2f1ee;
  --paper-ink: #0e0e0e;
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
.red { color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- type ---------- */
.wm {
  font-family: var(--f-head); font-weight: 800; font-stretch: 125%;
  font-size: 20px; letter-spacing: .06em; text-decoration: none;
  display: inline-flex; gap: .38em; line-height: 1;
}
.label {
  display: flex; align-items: center; gap: 14px;
  margin: 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
}
.label .rule { width: 44px; height: 1px; background: var(--red); display: inline-block; }
.label--dark { color: rgba(14,14,14,.6); }
.h2 {
  font-family: var(--f-head); font-weight: 600; font-stretch: 112%;
  font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.02em;
  margin: 14px 0 0;
}
.h3 {
  font-family: var(--f-head); font-weight: 600; font-stretch: 112%;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -.01em;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-mono); font-weight: 500; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding: 12px 18px; border: 1px solid transparent; border-radius: 0;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 26px; }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--text { padding-left: 0; padding-right: 0; color: var(--ink-2); }
.btn--text:hover { color: var(--ink); }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.btn):not(.nav__ig) {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.nav__links > a:not(.btn):not(.nav__ig):hover { color: var(--ink); }
.nav__ig { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line-2); color: var(--ink); }
.nav__ig:hover { border-color: var(--red); color: var(--red); }
.nav__burger { display: none; width: 40px; height: 36px; background: none; border: 1px solid var(--line-2); padding: 0 10px; cursor: pointer; }
.nav__burger span { display: block; height: 1px; background: var(--ink); margin: 7px 0; transition: transform .2s; }

@media (max-width: 860px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: 65px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 4px var(--pad) 24px;
    transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav__links > a:not(.btn):not(.nav__ig) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav__ig { margin: 16px 0 0; }
  .nav__links .btn { margin-top: 16px; padding: 16px; }
  .nav.open .nav__links { transform: none; visibility: visible; }
  .nav.open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(56px, 9vw, 110px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 660px; }
.hero__title {
  font-family: var(--f-head); font-weight: 600; font-stretch: 115%;
  font-size: clamp(48px, 7.6vw, 112px); line-height: .94; letter-spacing: -.035em;
  margin: 0; text-wrap: balance;
}
.hero__lede { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); max-width: 48ch; }
.hero__lede em { font-style: normal; color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero__meta {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.hero__meta li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 10px; vertical-align: 1px; }
.hero__img { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: min(74vh, 700px); width: 100%; border: 1px solid var(--line-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: -1px; bottom: 24px;
  background: var(--red); color: #fff;
  padding: 10px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 1; max-height: 520px; }
}

/* ==========================================================
   ORDER / BOOK STRIP
   ========================================================== */
.actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.act {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px var(--pad) 32px 28px; text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background .2s;
}
.act:first-child { padding-left: var(--pad); }
.act:last-child { border-right: 0; }
.act__no { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.act__title { font-family: var(--f-head); font-weight: 600; font-stretch: 110%; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.15; margin-top: 10px; }
.act__sub { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.act__arrow { position: absolute; top: 26px; right: 24px; font-size: 16px; color: var(--ink-3); transition: color .2s, transform .2s; }
.act:hover { background: var(--bg-2); }
.act:hover .act__arrow { color: var(--red); transform: translate(2px, -2px); }
@media (max-width: 960px) {
  .actions { grid-template-columns: 1fr 1fr; }
  .act, .act:first-child { padding: 24px 20px 26px; }
  .act:nth-child(2) { border-right: 0; }
  .act:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .act__arrow { top: 20px; right: 16px; }
}
@media (max-width: 480px) {
  .act, .act:first-child { padding: 18px 14px 20px; }
  .act__no { font-size: 10px; letter-spacing: .16em; }
  .act__title { font-size: 16px; margin-top: 6px; }
  .act__sub { font-size: 11px; }
  .act__arrow { top: 16px; right: 12px; font-size: 14px; }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.sec { padding: var(--sec) var(--pad); }
.sec--line { border-top: 1px solid var(--line); }
.sec__head { padding-bottom: 32px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.sec__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* pizza styles */
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.style { display: flex; flex-direction: column; gap: 24px; }
.style__img { aspect-ratio: 4 / 3; border: 1px solid var(--line-2); overflow: hidden; }
.style__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.style:hover .style__img img { transform: scale(1.03); }
.style__body { display: flex; flex-direction: column; gap: 10px; }
.style__spec { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.style__body p:last-child { margin: 0; color: var(--ink-2); max-width: 46ch; }

/* menu */
.menu { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 56px; }
.menu__head { display: flex; flex-direction: column; gap: 12px; }
.menu__note { margin: 0; font-size: 12px; color: var(--ink-3); }
.menu__note a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.menu__list { margin: 0; border-top: 1px solid var(--line); }
.menu__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu__list dt { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.menu__list dd { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) {
  .styles, .menu { grid-template-columns: 1fr; }
  .menu__list dt { font-size: 12px; letter-spacing: .05em; }
}

/* gallery slideshow */
.show { position: relative; }
.show__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.show__track::-webkit-scrollbar { display: none; }
.show__track:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.slide {
  flex: 0 0 calc((100% - 36px) / 3.4); aspect-ratio: 4 / 5;
  scroll-snap-align: start; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show__bar { display: flex; align-items: center; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.show__count { font-size: 12px; letter-spacing: .18em; color: var(--ink-3); white-space: nowrap; }
.show__count b { color: var(--ink); font-weight: 500; }
.show__progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.show__progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--red); transition: width .4s ease; }
.show__btn { width: 48px; height: 48px; background: transparent; color: var(--ink); border: 1px solid var(--line-2); font-size: 18px; cursor: pointer; font-family: var(--f-mono); }
.show__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.show__icon { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.show__btn[aria-pressed="true"] .show__icon { width: 0; height: 0; border-left: 11px solid currentColor; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.show__track { scroll-snap-type: x mandatory; }
.show__btn:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 960px) { .slide { flex-basis: calc((100% - 12px) / 2.2); } }
@media (max-width: 560px) { .show__track { gap: 8px; } .slide { flex-basis: 84%; } .show__bar { gap: 16px; } }

/* ==========================================================
   ABOUT (paper)
   ========================================================== */
.about {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px);
  padding: var(--sec) var(--pad);
  background: var(--paper); color: var(--paper-ink);
}
.about .h2 { max-width: 12ch; }
.about__body { display: flex; flex-direction: column; gap: 20px; }
.about__body > p { margin: 0; font-size: 15px; line-height: 1.9; color: rgba(14,14,14,.78); max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1px solid rgba(14,14,14,.2); border-left: 1px solid rgba(14,14,14,.2); }
.stats div { padding: 22px 20px; border-right: 1px solid rgba(14,14,14,.2); border-bottom: 1px solid rgba(14,14,14,.2); }
.stats b { display: block; font-family: var(--f-head); font-weight: 600; font-stretch: 115%; font-size: 34px; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(14,14,14,.65); }
.press { list-style: none; margin: 16px 0 0; padding: 0; }
.press li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(14,14,14,.2); }
.press li:first-child { border-top: 1px solid rgba(14,14,14,.2); }
.press q { font-family: var(--f-head); font-weight: 500; font-stretch: 105%; font-size: clamp(17px, 1.6vw, 20px); quotes: "“" "”"; }
.press cite { font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .stats b { font-size: 26px; } .stats div { padding: 16px 12px; } .stats span { font-size: 9px; letter-spacing: .1em; }
  .press li { flex-direction: column; gap: 4px; }
}

/* ==========================================================
   LOCATIONS
   ========================================================== */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.loc { border: 1px solid var(--line); display: flex; flex-direction: column; }
.loc__map { position: relative; height: 260px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.95); }
.loc__map .tag { top: 20px; bottom: auto; left: 20px; }
.loc__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc__addr { margin: 0; color: var(--ink-2); }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 4px; border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: left; font-weight: 400; }
.hours th { color: var(--ink-3); width: 40%; }
.hours td { text-align: right; }
.loc__note { margin: 0; font-size: 13px; color: var(--ink-3); }
.loc__ctas { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) { .locs { grid-template-columns: 1fr; } .loc__body { padding: 24px 20px 28px; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: 44px var(--pad); border-top: 1px solid var(--line);
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.foot__links a:hover { color: var(--ink); }
.foot__small { flex-basis: 100%; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }
.foot__small a { color: var(--ink-2); }

/* ==========================================================
   MOBILE ORDER BAR
   ========================================================== */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14,14,14,.96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mbar.show { transform: none; }
  .mbar .btn { padding: 14px; }
  .foot { padding-bottom: 100px; }
}

/* reveal */
.reveal { opacity: 0; translate: 0 16px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; }
}

.hours td a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.hours td a:hover { color: var(--red); }
