:root { font-family: Commissioner, Arial, sans-serif; scroll-behavior: smooth; --ease: cubic-bezier(.16, 1, .3, 1); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--selection); color: var(--ink); }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { letter-spacing: -.038em; }
p { line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
section[id] { scroll-margin-top: 20px; }
.demo-wrap { width: min(100% - clamp(36px, 9.1vw, 144px), 1260px); margin-inline: auto; }
.studio-bar { background: #23281d; color: #f0f3e7; }
.studio-bar .demo-wrap, .demo-header nav, .demo-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.studio-bar .demo-wrap { min-height: 40px; font-size: .79rem; }
.studio-bar a { min-height: 39px; display: grid; align-items: center; }
.demo-address { font-style: normal; line-height: 1.55; }
.demo-phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin-block: 12px 0; font-size: .94rem; }
.demo-phone strong { font-variant-numeric: tabular-nums; }
.demo-header {
  display: grid;
  grid-template-areas: "brand nav phone";
  grid-template-columns: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
  align-items: center;
  column-gap: clamp(12px, 2.8vw, 36px);
  min-height: 75px;
  border-bottom: 1px solid var(--rule);
}
.demo-header > a:not(.demo-header-phone) { grid-area: brand; justify-self: start; }
.demo-header-phone {
  grid-area: phone;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(.91rem, 1.7vw, 1.05rem);
  font-weight: 780;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.demo-header-phone svg { flex: 0 0 auto; }
.demo-header nav { grid-area: nav; gap: clamp(14px, 4vw, 44px); font-size: .9rem; font-weight: 720; }
.demo-header nav a { min-height: 39px; display: grid; align-items: center; text-decoration-color: transparent; transition: text-decoration-color .18s; }
.demo-header nav a:hover, .demo-header nav a:active { text-decoration-color: currentColor; }
.demo-footer { min-height: 73px; border-top: 1px solid var(--rule); font-size: .88rem; }

.cafe { --ground: #f7e9d1; --ink: #331e16; --rule: #a45b4780; --selection: #efb781; }
.cafe-logo { font-size: clamp(1.7rem, 3.3vw, 2.45rem); display: inline-flex; align-items: flex-start; line-height: .96; letter-spacing: -.06em; font-weight: 890; text-decoration: none; }
.cafe-logo span { color: #a63724; }
.cafe-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(22px, 5vw, 84px); padding-block: clamp(36px, 7vw, 101px); }
.cafe h1 { font-size: clamp(3.1rem, 8.3vw, 8rem); line-height: .89; letter-spacing: -.063em; font-weight: 890; color: #932e20; }
.cafe-hero p { margin-block: 20px 21px; max-width: 33ch; }
.cafe-hero figure { overflow: hidden; border-radius: 48% 48% 6px 6px / 23% 23% 6px 6px; background: #b65b39; }
.cafe-hero img { aspect-ratio: 1.09; object-fit: cover; object-position: 55% 56%; }
.demo-button { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 14px; background: #852d20; color: #ffefd5; border-radius: 4px; font-weight: 740; text-decoration: none; transition: transform .18s var(--ease), background .18s; -webkit-tap-highlight-color: transparent; }
.demo-button:hover, .demo-button:active { background: #612319; }
.demo-button:active, .menu-filters button:active, .gallery-controls button:active { transform: scale(.94); }
.cafe-menu { padding-block: clamp(40px, 6vw, 91px); background: #852d20; color: #ffefd5; --selection: #f4bc8e; --ink: #331e16; }
.cafe-menu-heading, .arch-project-heading { display: flex; gap: 15px 25px; justify-content: space-between; align-items: end; }
.cafe-menu h2, .cafe-visit h2 { font-size: clamp(2.35rem, 5.7vw, 5rem); line-height: 1; font-weight: 850; }
.menu-filters, .gallery-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.menu-filters button, .gallery-controls button { border: 1px solid currentColor; min-height: 42px; padding: 7px 12px; background: transparent; color: inherit; font-size: .89rem; font-weight: 720; transition: background .24s var(--ease), color .24s var(--ease), transform .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.menu-filters button { border-radius: 25px; }
.menu-filters button[aria-pressed="true"] { border-color: #ffefd5; background: #ffefd5; color: #662017; }
.menu-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 23px 57px; margin-top: 28px; }
.menu-list section { animation: menu-change .3s var(--ease) both; }
@keyframes menu-change { from { opacity: .46; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.menu-list h3 { font-size: 1.28rem; margin-bottom: 10px; }
.menu-list ul { margin: 0; padding: 0; list-style: none; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 12px 0 11px; border-top: 1px solid #d29078; }
.menu-list li:last-child { border-bottom: 1px solid #d29078; }
.menu-list small { display: block; font-size: .86rem; color: #ffddc3; margin-top: 3px; }
.menu-list b { flex-shrink: 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.cafe-visit { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(24px, 7vw, 105px); align-items: center; padding-block: clamp(48px, 8vw, 110px); }
.cafe-visit img { aspect-ratio: 1.25; object-fit: cover; border-radius: 5px 5px 42% 42% / 5px 5px 14% 14%; }
.cafe-visit dl { margin-top: 21px; }
.cafe-visit dl > div { display: flex; flex-wrap: wrap; gap: 5px 17px; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--rule); }
.cafe-visit dd { font-weight: 750; font-variant-numeric: tabular-nums; }

.architecture { --ground: #f2eee3; --ink: #2f3527; --rule: #b4b1a2; --selection: #d3d9b8; }
.arch-logo { display: inline-flex; align-items: center; gap: 13px; font-family: Georgia, serif; font-size: clamp(1.35rem, 3.6vw, 2rem); letter-spacing: .12em; line-height: 1; text-decoration: none; }
.arch-logo span { font: 600 .84rem Commissioner, sans-serif; line-height: 1.2; letter-spacing: 0; border-left: 1px solid var(--rule); padding-left: 12px; }
.architecture h1, .architecture h2 { font-family: Georgia, serif; font-weight: 400; }
.arch-project-heading p { max-width: 37ch; color: #4b5143; }
.arch-project { padding-block: clamp(42px, 6vw, 86px); background: #e6e5d7; }
.architecture h2 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .98; }
.gallery-controls { margin-top: 24px; }
.gallery-controls button { border-color: #858979; border-radius: 3px; }
.gallery-controls button[aria-pressed="true"] { background: #353c2e; border-color: #353c2e; color: #faf8ec; }
.gallery-track { display: flex; position: relative; gap: clamp(12px, 2vw, 26px); overflow: auto; margin-top: 13px; padding-bottom: 9px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-color: #7f866f #d4d7c6; scrollbar-width: thin; }
.gallery-track::after { content: ""; flex: 0 0 max(0px, calc(18% - clamp(12px, 2vw, 26px))); }
.gallery-track figure { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
.gallery-track img { aspect-ratio: 1.74; object-fit: cover; background: #cccab7; }
.gallery-track figcaption { color: #434a39; font-size: .87rem; padding-block: 9px; }
.arch-studio { padding-block: clamp(43px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; gap: 14px 28px; }
.arch-studio p { max-width: 51ch; }

@media (max-width: 680px) {
  .demo-header { min-height: 62px; }
  .demo-header nav { gap: 14px; font-size: .83rem; }
  .cafe-hero, .cafe-visit, .arch-studio { grid-template-columns: minmax(0, 1fr); }
  .cafe h1 { font-size: clamp(3.25rem, 14vw, 5.7rem); }
  .cafe-hero p { margin-block: 12px 15px; }
  .cafe-hero img { aspect-ratio: 1.25; }
  .cafe-menu-heading, .arch-project-heading { align-items: start; flex-direction: column; }
  .cafe-visit img { order: 2; }
  .arch-logo span { display: none; }
  .gallery-track img { aspect-ratio: 1.03; }
}
@media (max-width: 580px) {
  .demo-header {
    grid-template-areas: "brand phone" "nav nav";
    grid-template-columns: minmax(0, 1fr) max-content;
    padding-top: 12px;
  }
  .demo-header nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .demo-button:active, .menu-filters button:active, .gallery-controls button:active { transform: none; }
}
