@font-face {
  font-family: DM Sans;
  src: url("../assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --paper: #f7f4eb;
  --wash: #ede9da;
  --ink: #171b33;
  --soft-ink: #484e62;
  --blue: #1b36b8;
  --line: #ccc8bc;
  --white: #fffdf5;
  --pad: clamp(1.15rem, 5vw, 4.5rem);
  --display: "DM Sans", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.7 var(--display);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
address { font-style: normal; }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(100% - var(--pad) * 2, 86rem); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 2;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  transform: translateY(-170%);
  background: var(--blue);
  color: white;
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  color: var(--blue);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 850;
}
.mark {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 2.55rem;
  aspect-ratio: 1;
  font-family: sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}
.brand small {
  display: block;
  margin-top: .24rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.site-nav, .site-footer nav { display: flex; gap: clamp(.9rem, 3.5vw, 3.2rem); }
.site-nav a, .site-footer nav a, .header-shop { font-size: .94rem; font-weight: 710; }
.site-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .26em; }
.header-shop {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem 1.05rem;
  border: 1px solid var(--blue);
  color: var(--blue);
  white-space: nowrap;
}
.header-shop:hover { background: var(--blue); color: white; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  min-height: 36rem;
}
.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(3.6rem, 7vw, 7rem) clamp(1rem, 4vw, 4.2rem) clamp(3.6rem, 7vw, 6rem) 0;
}
.overline {
  color: var(--blue);
  font-size: .86rem;
  line-height: 1.5;
  font-weight: 810;
  letter-spacing: .15em;
}
.hero h1 {
  margin: .8rem 0 1.3rem;
  color: var(--blue);
  font-size: clamp(2.1rem, 5.35vw, 5.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.075em;
}
.hero-description { max-width: 24em; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.hero-photo { position: relative; min-height: 100%; background: #514039; }
.hero-photo img { position: absolute; inset: 0; height: 100%; object-position: 50% 53%; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.35rem;
  row-gap: .6rem;
  margin-top: 1.65rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .5rem 1.15rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  font-size: .94rem;
  font-weight: 780;
  line-height: 1.45;
}
.button:hover { background: #112684; border-color: #112684; }
.underlined { color: var(--blue); font-weight: 740; text-decoration: underline; text-underline-offset: .3em; }
.underlined:hover { text-decoration-thickness: .14em; }

.floor-strip { background: var(--blue); color: white; }
.floor-links { display: grid; grid-template-columns: 1fr 1.04fr; }
.floor-links > a {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.65rem);
  min-height: 6.8rem;
  padding-block: .85rem;
}
.floor-links > a:last-child { padding-left: clamp(.7rem, 4vw, 3rem); border-left: 1px solid #7690ff; }
.floor-links > a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.floor-links b { font-size: clamp(1.9rem, 5vw, 4.25rem); font-weight: 850; line-height: 1; letter-spacing: -.075em; }
.floor-links span { font-size: clamp(.96rem, 1.7vw, 1.22rem); font-weight: 800; line-height: 1.4; }
.floor-links small { display: block; margin-top: .25rem; font-size: .82rem; font-weight: 450; line-height: 1.4; }

.block { padding-block: clamp(3.8rem, 7.4vw, 7rem); }
.block h2 {
  margin: .36rem 0 1rem;
  color: var(--blue);
  font-size: clamp(2.15rem, 4.2vw, 4.45rem);
  line-height: 1.18;
  font-weight: 860;
  letter-spacing: -.05em;
}
.note { margin-top: .85rem; color: var(--soft-ink); font-size: .875rem; }
.menu { display: grid; grid-template-columns: 1fr 1.65fr; gap: clamp(2rem, 5vw, 5rem); }
.menu-intro > p:not(.overline) { max-width: 21em; }
.menu-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); }
.menu-board h3 {
  margin-bottom: .65rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--blue);
  color: var(--blue);
  font-size: 1.06rem;
}
.menu-board dl > div {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  padding-block: .57rem;
  border-bottom: 1px solid var(--line);
}
.menu-board dd { font-weight: 710; white-space: nowrap; }
.signature { color: var(--blue); font-weight: 780; }

.craft-block { background: var(--wash); }
.section-heading { display: flex; align-items: flex-end; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.section-heading h2 { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 1.7rem; }
.product-grid a { display: block; border-bottom: 1px solid var(--line); padding-bottom: .85rem; }
.product-grid img { height: auto; aspect-ratio: 4 / 3; background: #ddd7c8; }
.product-grid h3 { margin-top: .7rem; font-size: 1.08rem; }
.product-grid a:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .24em; }
.product-grid p { color: var(--blue); font-weight: 760; }
.product-grid p span { color: var(--soft-ink); font-weight: 480; }

.story { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.story img { height: auto; aspect-ratio: 1.35; object-position: 50% 50%; background: #d8d0be; }
.story p:not(.overline) { max-width: 29em; }

.visit { background: var(--blue); color: white; }
.visit-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.7rem, 6vw, 6rem); align-items: end; }
.visit .overline, .visit h2, .visit .underlined { color: white; }
.visit address { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 650; }
.visit-details { max-width: 28rem; }
.visit .button { border-color: white; background: var(--white); color: var(--blue); }
.visit .button:hover { background: var(--blue); color: white; }

.site-footer { padding-block: .6rem; }
.site-footer nav { gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 840px) {
  .hero { min-height: 31rem; }
  .menu { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
}

@media (max-width: 720px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; padding-top: .95rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; margin-top: .8rem; border-top: 1px solid var(--line); }
  .site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .header-shop { justify-self: end; align-self: center; }
  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 2.6rem 0 2.25rem; }
  .hero h1 { font-size: clamp(2.4rem, 9.5vw, 4.65rem); }
  .hero-photo { min-height: 0; aspect-ratio: 1.25; }
  .hero-photo img { object-position: 50% 53%; }
  .floor-links > a { min-height: 5.2rem; }
  .story, .visit-inner { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid li:last-child { grid-column: 1 / -1; }
  .product-grid li:last-child img { aspect-ratio: 1.85; }
  .footer-inner { align-items: start; flex-direction: column; gap: 1.15rem; padding-block: 1.45rem; }
}

@media (max-width: 390px) {
  .floor-links small { font-size: .75rem; }
  .menu-board { gap: .65rem; }
  .menu-board dl > div { gap: .3rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* MANNER reference: full-bleed banner, dark navigation, monochrome sections. */
:root {
  --paper: #fff; --wash: #f3f3f3; --ink: #202020; --soft-ink: #626262;
  --blue: #7b1c1e; --line: #d9d9d9; --white: #fff;
}
body { background: #fff; color: #202020; }
.site-header {
  position: absolute; z-index: 10; inset: 0 0 auto; border: 0;
  background: rgba(20,20,20,.92); color: #fff;
}
.site-header .shell { width: min(100% - 3.5rem, 86rem); }
.header-inner { min-height: 5.5rem; }
.brand { color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.mark { border-color: #fff; color: #fff; }
.brand small { color: #c8c8c8; letter-spacing: .2em; }
.site-nav a, .header-shop { color: #fff; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
.header-shop { border-color: #fff; }
.header-shop:hover { background: #fff; color: #171717; }
.hero.shell {
  position: relative; display: grid; grid-template-columns: 1fr; width: 100%; max-width: none;
  min-height: 100svh; margin: 0; overflow: hidden; background: #242424;
}
.hero-copy, .hero-photo { grid-area: 1 / 1; }
.hero-copy {
  z-index: 2; align-content: end; width: min(100% - 3rem, 86rem);
  margin-inline: auto; padding: 9rem 0 clamp(4rem,9vw,8rem); color: #fff;
}
.hero-copy::before {
  content: "COFFEE  /  CRAFTS  /  DALI"; margin-bottom: 1.1rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
}
.hero .overline { color: #fff; }
.hero h1 {
  max-width: 9em; margin: .6rem 0 1rem; color: #fff;
  font-size: clamp(3rem,7.2vw,7.8rem); line-height: .98; letter-spacing: -.07em;
}
.hero-description { max-width: 31rem; color: #eee; }
.hero .button { border-color: #fff; background: #fff; color: #181818; }
.hero .underlined { color: #fff; }
.hero-photo { min-height: 100svh; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.1) 65%),linear-gradient(0deg,rgba(0,0,0,.4),transparent 55%);
}
.hero-photo img { object-position: center 55%; filter: saturate(.78) contrast(1.04); }
.floor-strip { background: #232323; }
.floor-links > a:last-child { border-color: #545454; }
.block h2, .overline, .underlined, .product-grid p { color: #7b1c1e; }
.menu-board h3 { border-color: #202020; color: #202020; }
.craft-block { background: #f3f3f3; }
.product-grid img { filter: saturate(.84); }
.visit { background: #232323; }
.visit .overline, .visit h2, .visit .underlined { color: #fff; }
.visit .button { color: #202020; }
.site-footer .brand { color: #202020; }
.site-footer .mark { border-color: #202020; color: #202020; }
@media (max-width: 720px) {
  .site-header { position: relative; background: #232323; }
  .site-header .shell { width: min(100% - 2rem,86rem); }
  .site-nav { border-color: #555; }
  .hero.shell { display: grid; min-height: 78svh; }
  .hero-copy { width: min(100% - 2rem,86rem); padding: 4rem 0 3rem; }
  .hero-photo { min-height: 78svh; aspect-ratio: auto; }
  .hero h1 { font-size: clamp(3rem,15vw,5.5rem); }
}
