/* Small Victory — site styles */
:root {
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --oat: #ece3d3;
  --espresso: #2b2521;
  --ink: #3a332d;
  --muted: #7a6f64;
  --crust: #a8652e;
  --crust-dark: #8a4f20;
  --line: #ddd2bf;
  --radius: 14px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--espresso); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 350; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--espresso); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--crust); outline-offset: 3px; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--crust); margin-bottom: 1.1rem; }
.lede { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; font-weight: 300; color: var(--espresso); }
.narrow { max-width: 760px; }

/* logo: the cream PNG used as a mask so it can be any colour */
.logo { display: block; width: 200px; aspect-ratio: 458 / 118; background: var(--espresso);
  -webkit-mask: url(/img/logo.png) center / contain no-repeat; mask: url(/img/logo.png) center / contain no-repeat; }
.logo-light { background: var(--cream); width: 220px; margin-bottom: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  background: var(--espresso); color: var(--cream); text-decoration: none; font: 500 .92rem/1 var(--sans); letter-spacing: .02em;
  border: 1.5px solid var(--espresso); transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { background: var(--crust-dark); border-color: var(--crust-dark); }
.btn-sm { padding: .7em 1.2em; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn-light { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--espresso); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(246,241,231,.7); }
.btn-outline-light:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.link-arrow { display: inline-flex; gap: .5em; align-items: center; font-weight: 500; text-decoration: none; color: var(--crust-dark); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand .logo { width: 170px; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.site-nav > ul a, .sub-toggle { text-decoration: none; font: 500 .93rem/1 var(--sans); color: var(--ink); background: none; border: 0; padding: .4rem 0; cursor: pointer; }
.site-nav > ul > li > a:hover, .sub-toggle:hover, .site-nav [aria-current="page"], .has-sub.active > .sub-toggle { color: var(--crust-dark); }
.site-nav .btn { color: var(--cream); padding: .7em 1.2em; }
.sub-toggle { display: inline-flex; align-items: center; gap: .4em; }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 170px; list-style: none; margin: 0; padding: .5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(43,37,33,.1);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s; }
.sub a { display: block; padding: .65rem .8rem; border-radius: 8px; }
.sub a:hover { background: var(--oat); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed menu panel inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav-toggle { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 24px; height: 1.5px; background: var(--espresso); transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a, .sub-toggle { display: flex; width: 100%; justify-content: space-between; padding: 1.1rem 0; font: 400 1.5rem/1.1 var(--serif); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 1rem; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
  .sub a { font-size: 1.05rem; padding: .55rem 0; }
  .site-nav .btn { padding: 1em; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,24,20,.05) 25%, rgba(30,24,20,.72) 100%), linear-gradient(90deg, rgba(30,24,20,.62), rgba(30,24,20,.15) 70%); }
.hero-copy { position: relative; padding: 6rem 0 clamp(3rem, 8vw, 6rem); }
.hero h1 { color: var(--cream); max-width: 13ch; }
.hero .eyebrow { color: #e9c9a1; }
.hero .lede { color: rgba(246,241,231,.92); max-width: 36rem; }
.hero-actions, .band-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split h2 { max-width: 14ch; }
.framed { margin: 0; border-radius: var(--radius); overflow: hidden; }
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.framed.wide img { aspect-ratio: 16 / 10; }
.prose .framed.wide { margin: 2.5rem 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .framed img { aspect-ratio: 4 / 3; } }

.process-strip { background: var(--cream); }
.process-strip h2 { margin-bottom: 2.5rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--cream); aspect-ratio: 3 / 4; background: var(--espresso); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30,24,20,.78)); }
.card:hover img { transform: scale(1.04); }
.card-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.6rem; display: grid; gap: .3rem; }
.card-body strong { font: 400 1.9rem/1.1 var(--serif); }
.card-body strong::after { content: ' →'; font-size: .8em; opacity: 0; transition: opacity .2s; }
.card:hover .card-body strong::after { opacity: 1; }
.card-body span { font-size: .95rem; opacity: .9; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } .card { aspect-ratio: 16 / 10; } }

/* cafés */
.cafes-section h2 { margin-bottom: .3rem; }
.cafes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.8rem; }
@media (max-width: 1100px) { .cafes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cafes { grid-template-columns: 1fr; } }
.cafe { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.5rem; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.cafe h3 { font-size: 1.6rem; margin-bottom: .1rem; }
.cafe-sub { color: var(--muted); font-size: .9rem; margin-bottom: .7rem; }
.status { font-size: .82rem; font-weight: 500; display: inline-flex; align-items: center; gap: .45em; margin: 0 0 1rem; min-height: 1.3em; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.status.open { color: #3d7a4a; } .status.open::before { background: #4c9a5c; box-shadow: 0 0 0 3px rgba(76,154,92,.18); }
.status.closed { color: var(--muted); }
.status:empty::before { display: none; }
.cafe dl { margin: 0 0 1rem; display: grid; gap: .2rem; font-size: .93rem; }
.cafe dt { font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .85rem; }
.cafe dd { margin: .35rem 0 0; }
.cafe dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cafe dd a:hover { border-color: var(--crust); color: var(--crust-dark); }
.cafe-tags { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: .5rem; }
.cafe-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cafe-actions .btn { padding: .8em .6em; font-size: .85rem; }

/* band */
.band { background: var(--espresso); color: var(--cream); }
.band h2 { color: var(--cream); }
.band p { color: rgba(246,241,231,.78); max-width: 34rem; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.band-actions { margin-top: 0; }

/* page hero (inner pages) */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--espresso); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero .wrap { position: relative; padding: 5rem 0 3rem; }
.page-hero h1 { color: var(--cream); margin: 0; }
.page-hero .eyebrow { color: #e9c9a1; }

/* prose (story) */
.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.prose .lede { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 1.6em; }
.signature { font: italic 300 1.7rem/1.3 var(--serif); color: var(--crust-dark); margin: 2rem 0; }

/* menu */
.menu-tabs { position: sticky; top: 76px; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-tabs .wrap { display: flex; gap: 1.8rem; overflow-x: auto; scrollbar-width: none; }
.menu-tabs a { flex: none; padding: 1.05rem 0; text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--muted); border-bottom: 2px solid transparent; }
.menu-tabs a:hover, .menu-tabs a.on { color: var(--espresso); border-color: var(--crust); }
.menu-section { padding: 1rem 0 3.5rem; border-bottom: 1px solid var(--line); margin-bottom: 3.5rem; scroll-margin-top: 150px; }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section > .muted { max-width: 38rem; }
.menu-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem 4rem; margin-top: 1.8rem; }
.menu-group h3 { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--crust); margin-bottom: 1rem; }
.menu-group ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.menu-group li { display: flex; align-items: baseline; gap: .6rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.menu-group .dots { flex: 1; }
.menu-group .price { font-family: var(--serif); font-size: 1.1rem; color: var(--espresso); }
.menu-foot { color: var(--muted); text-align: center; }
.menu-foot a { color: var(--crust-dark); }

/* process pages */
.steps { list-style: none; margin: 3.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { border-top: 1px solid var(--espresso); padding-top: 1.4rem; }
.step-n { font: 300 2.6rem/1 var(--serif); color: var(--crust); display: block; margin-bottom: 1.2rem; }
.steps h2 { font-size: 1.6rem; }
.process-next { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.notfound { min-height: 55vh; display: grid; place-items: center; }

/* footer */
.site-footer { background: #221d1a; color: rgba(246,241,231,.75); padding: 4.5rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h3 { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer .muted { color: rgba(246,241,231,.6); max-width: 22rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(246,241,231,.12); font-size: .82rem; color: rgba(246,241,231,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
