@import url('/fonts.css');
@import url('/brand.css');
@import url('/cafe-theme.css');

:root {
  --paper: var(--cafe-paper);
  --ink: #382820;
  --cocoa: #653d2b;
  --espresso: #4c3025;
  --muted: #66564b;
  --line: #ddd2c3;
  --cream: var(--paper);
  --gold: #b78752;
  --blue: var(--cocoa);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --gutter: max(clamp(1.15rem, 5vw, 5rem), calc((100vw - 82rem)/2));
  --page-gutter: var(--gutter);
  --section-space: clamp(3rem, 6.2vw, 6rem);
  --ease: cubic-bezier(.23,1,.32,1);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.2rem; }
body { margin: 0; background: white; color: var(--ink); font: 400 1rem/1.58 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.5rem); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: #fff; background: #795440; }
:focus-visible { outline: 3px solid #aa6028; outline-offset: 4px; }
.skip { position: absolute; z-index: 20; top: 0; left: 1rem; padding: .7rem 1rem; background: white; color: var(--ink); transform: translateY(-120%); }
.skip:focus-visible { transform: none; }

.cafe-header { position: relative; z-index: 10; padding-inline: var(--gutter); color: #fff9f2; background: #543526; }
.cafe-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 5.35rem; }
.cafe-header .brand, footer .brand { display: block; flex: none; }
.cafe-header .brand-lockup { width: clamp(11rem, 16vw, 14rem); }
.cafe-header nav { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.8rem); }
.cafe-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff8ee; font-weight: 500; white-space: nowrap; }
.cafe-header nav .visit-link { margin-left: .45rem; padding: .55rem 1.2rem; background: #f4e6d5; color: #482e22; border-radius: var(--cafe-radius-control); text-align: center; }
.cafe-header :focus-visible, footer :focus-visible, .celebrations :focus-visible { outline-color: #ffd8a8; }
#menu-toggle { display: none; }
@media (max-width: 64rem) {
  .cafe-header-inner { min-height: 4.35rem; }
  #menu-toggle { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid #fff8ee40; border-radius: 50%; background: #fff8ee0d; color: white; }
  #menu-toggle[aria-expanded="true"] { background: #fff8ee20; }
  #menu-toggle[aria-expanded="true"] path:first-child { d: path('M5 3l14 14'); }
  #menu-toggle[aria-expanded="true"] path:nth-child(2) { opacity: 0; }
  #menu-toggle[aria-expanded="true"] path:last-child { d: path('M5 17L19 3'); }
  .cafe-header nav { display: none; position: absolute; inset: 100% 0 auto; background: #543526; padding: .2rem var(--gutter) 1.3rem; border-radius: 0 0 var(--cafe-radius-panel) var(--cafe-radius-panel); box-shadow: 0 9px 16px #38282022; }
  .cafe-header nav.open { display: grid; gap: .15rem; }
  .cafe-header nav a { min-height: 46px; }
  .cafe-header nav .visit-link { margin: .4rem 0 0; justify-content: center; }
}

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: .8rem 1.5rem; border-radius: var(--cafe-radius-control); border: 0; background: var(--cocoa); color: #fff; font: 600 .98rem/1.3 var(--body); text-align: center; }
.plain-link { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 0; background: none; border: 0; color: var(--cocoa); text-decoration: underline; text-underline-offset: .3em; font-weight: 600; }
.hero { background: var(--paper); padding: clamp(2.4rem, 4.6vw, 4.75rem) var(--gutter); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2.5rem, 5.5vw, 6rem); }
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(3.4rem, 6.7vw, 6rem); line-height: .92; }
.hero-copy > p { font-size: clamp(1rem, 1.3vw, 1.17rem); line-height: 1.6; max-width: 37ch; margin-top: 1.55rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.4rem; margin-top: 1.55rem; }
.hero-select { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: clamp(1.6rem, 4vw, 3.75rem); }
.hero-select button { border: 1px solid #e4d7cd; border-radius: var(--cafe-radius-control); padding: .55rem 1rem; background: #fffaf5; min-height: 44px; font-size: .95rem; font-weight: 500; color: var(--muted); }
.hero-select button[aria-pressed="true"] { background: var(--cafe-petal); border-color: #cbb2a1; color: var(--espresso); }
.hero-images { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: clamp(.6rem, 1.3vw, 1.4rem); align-items: end; }
.hero-images img { width: 100%; object-fit: cover; border-radius: var(--cafe-radius-photo); box-shadow: var(--cafe-shadow); }
.hero-plate img { aspect-ratio: 1101/1404; height: auto; }
.hero-companion { margin-bottom: clamp(1.5rem, 3.4vw, 3.5rem); }
.hero-companion img { aspect-ratio: 3/4; height: auto; border-radius: 6rem 6rem var(--cafe-radius-photo) var(--cafe-radius-photo); }
.hero-images figcaption { margin-top: .55rem; font-size: .875rem; color: var(--muted); line-height: 1.35; }

.advent-home-link { padding: clamp(1.2rem,2.1vw,2rem) var(--gutter); display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: center; color: #fff8ef; background: #654333; }
.advent-home-link > div { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(1rem, 2.8vw, 3rem); }
.advent-home-link strong { font: 600 clamp(1.9rem, 2.9vw, 2.55rem)/1.08 var(--display); }
.advent-home-link p { font-size: .96rem; color: #f8eadd; }
.advent-home-link .button, .celebrations .button { flex: none; background: #fff2e4; color: #4b3023; }

.section { padding: var(--section-space) var(--gutter); }
.menu-section { background: #fff; }
.menu-heading { display: flex; justify-content: space-between; gap: 1rem 3rem; align-items: end; }
.menu-heading p { max-width: 37ch; color: var(--muted); }
.menu-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.8rem 0 .65rem; }
.menu-tabs button { padding: .6rem 1.2rem; min-height: 44px; border: 0; border-radius: var(--cafe-radius-control); background: var(--cafe-blush); color: #513e31; }
.menu-tabs button[aria-selected="true"] { background: #543526; color: white; font-weight: 600; }
.menu-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(1.5rem, 4.5vw, 5rem); }
.menu-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem 1rem; align-items: start; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.menu-item h3 { font: 600 clamp(1.28rem, 1.7vw, 1.7rem)/1.14 var(--display); letter-spacing: -.015em; overflow-wrap: break-word; }
.menu-item p { margin-top: .4rem; color: var(--muted); line-height: 1.5; font-size: .99rem; }
.menu-item strong { padding-top: .1rem; max-width: 25ch; white-space: pre-line; text-align: right; font: 600 1rem/1.45 var(--body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.volume-row {
  display: grid;
  grid-template-columns: minmax(5ch, max-content) minmax(7ch, max-content);
  column-gap: .8em;
  width: max-content;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.volume-row > :first-child { text-align: left; }
.volume-row > :last-child { text-align: right; }
.menu-breakfast-photo { float: left; width: clamp(4.25rem, 6vw, 5.7rem); height: auto; margin: 0 .85rem .3rem 0; border-radius: .7rem; }
.menu-expand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; }
#menu-count, .menu-bottom { color: var(--muted); font-size: .925rem; }
#menu-status { padding: 1.25rem 0; }
.menu-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.6rem; }
.menu-bottom p { max-width: 55ch; }
.menu-bottom .button { color: var(--cocoa); background: transparent; text-decoration: underline; text-underline-offset: .28em; padding-inline: 0; }

.about { padding: var(--section-space) var(--gutter); display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); background: var(--cafe-blush); }
.about > img { width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; border-radius: var(--cafe-radius-photo); }
.about-copy > p { max-width: 44ch; margin-top: 1.1rem; }
.about-break-mobile { display: none; }
.signature { display: block; margin-top: .1rem; font: 500 2.15rem/1.25 'Caveat', cursive; color: var(--cocoa); }
.celebrations { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); background: var(--espresso); color: #fff7eb; }
.celebrations h2 { color: inherit; }
.celebrations p { max-width: 44ch; margin-top: 1.25rem; }
.capacity { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.4rem 0 1.75rem; color: #f4e4d4; }
.capacity strong, .capacity span { display: block; }
.capacity strong { font: 600 1.85rem/1.1 var(--display); margin-bottom: .25rem; }
.celebration-image img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; border-radius: var(--cafe-radius-photo); }
.events { background: var(--paper); padding-block: clamp(2rem,4vw,3.5rem); }
.events > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem; }
.events h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.visit { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.visit > div:first-child > p { margin-top: .9rem; }
.visit-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 .4rem; }
.visit-links .outline { background: #ede7dd; color: var(--cocoa); }
.fine { font-size: .93rem; color: var(--muted); }
.hours { padding: clamp(1.5rem, 3.5vw, 3rem); background: var(--cafe-blush); border-radius: var(--cafe-radius-panel); box-shadow: var(--cafe-shadow); }
.hours h3 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 1.1rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.hours strong { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours > a { display: block; width: fit-content; padding: .4rem 0; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.hours > div + a { margin-top: 1rem; }

footer { padding: 2.1rem var(--gutter); background: #3b291f; color: #f7eadb; }
footer > div:first-child:not(.footer-bottom), .footer-bottom, .footer-bottom > div:not(.footer-socials) { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; }
footer > div:first-child:not(.footer-bottom), .footer-bottom { justify-content: space-between; }
footer .brand-lockup { width: 12rem; }
.footer-bottom { margin-top: 1.2rem; font-size: .94rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem var(--gutter); background: #543526; color: white; }
.legal-head .brand-lockup { width: min(12rem,42vw); }
.legal { margin: auto; }
.legal h1 { margin: 1em 0 .6em; }
.legal h2 { margin: 1.4em 0 .55em; }
.legal p, .legal li { margin: .55em 0; }

@media (hover:hover) and (pointer:fine) {
  .cafe-header nav a:not(.visit-link):hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .28em; }
  .button:hover, .cafe-header .visit-link:hover { filter: brightness(.92); }
  .plain-link:hover { text-decoration-thickness: 2px; }
  .menu-tabs button:not([aria-selected="true"]):hover { background: #e5d9c9; }
  .hero-select button:not([aria-pressed="true"]):hover { background: var(--cafe-blush); border-color: #cbb2a1; }
}
@media (prefers-reduced-motion:no-preference) {
  .button, .menu-tabs button, .hero-select button, #menu-toggle, .cafe-header .visit-link { transition: transform 135ms var(--ease), background-color 150ms ease, border-color 150ms ease; }
  .button:active, .menu-tabs button:active, .hero-select button:active, #menu-toggle:active, .cafe-header .visit-link:active { transform: scale(.98); }
}
@media (max-width: 58rem) {
  .hero-layout { gap: 2rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .hero-images { grid-template-columns: minmax(0,1fr); }
  .hero-companion { display: none; }
  .advent-home-link > div { display: block; }
  .advent-home-link p { margin-top: .3rem; }
}
@media (max-width: 42rem) {
  .cafe-header .brand-lockup { width: 11rem; }
  .hero { padding-block: 2rem 1.7rem; }
  .hero-layout { grid-template-columns: 1fr; gap: .8rem; }
  .hero-copy h1 { font-size: clamp(3rem, 12.4vw, 4.8rem); }
  .hero-copy > p { max-width: 42ch; margin-top: .9rem; }
  .hero-actions { margin-top: 1rem; }
  .hero-select { margin-top: .85rem; gap: .4rem; }
  .hero-images { grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: end; gap: .9rem; }
  .hero-plate img { max-height: 23rem; }
  .hero-companion { display: block; margin-bottom: 1.4rem; }
  .hero-images figcaption { margin-top: .4rem; font-size: .82rem; }
  .advent-home-link { display: grid; justify-content: stretch; gap: .8rem; }
  .advent-home-link .button { justify-self: start; }
  .menu-heading { display: block; }
  .menu-heading p { margin-top: .65rem; }
  .menu-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 1.2rem; }
  .menu-tabs button { padding: .5rem .25rem; }
  .menu-items, .about, .celebrations, .visit { grid-template-columns: 1fr; }
  .menu-item { padding-block: 1.05rem; column-gap: .6rem; }
  .menu-expand { flex-wrap: wrap; gap: .4rem .85rem; }
  .menu-expand .button { padding-inline: .9rem; }
  .about { gap: 1.4rem; }
  .about > img { aspect-ratio: 1.55; }
  .about-break-mobile { display: initial; }
  .about-break-desktop { display: none; }
  .about-title { font-size: clamp(2.2rem,8.2vw,3.4rem); }
  .celebrations { gap: 1.6rem; }
  .visit { gap: 2rem; }
  .hours { padding: 1.35rem; }
  footer > div:first-child:not(.footer-bottom), .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom > div:not(.footer-socials) { gap: .2rem 1.1rem; }
}
