:root {
  --ivory: #f5f0e5;
  --ivory-deep: #e9dfcf;
  --paper: #fbf8f1;
  --brown: #30251f;
  --brown-soft: #6f5f53;
  --green: #244b3b;
  --green-light: #d5ded5;
  --line: rgba(48, 37, 31, 0.22);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --page-gutter: clamp(22px, 4.8vw, 76px);
  --header-height: 94px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b76a2d;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--brown);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 16px var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 229, 0.94);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.25;
}

.brand__ja {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.brand__en {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--green);
  content: "";
  transition: transform 240ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(460px, 0.82fr) minmax(0, 1.18fr);
  min-height: min(820px, calc(100svh - var(--header-height)));
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(60px, 8vw, 120px) clamp(28px, 3vw, 48px) clamp(52px, 7vw, 100px) var(--page-gutter);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(45px, 4.1vw, 68px);
  line-height: 1.38;
  white-space: nowrap;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  margin: clamp(26px, 3.5vw, 46px) 0 34px;
  color: var(--brown-soft);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 2.1;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 210px;
  padding: 15px 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.button-link:hover {
  background: transparent;
  color: var(--green);
}

.hero__visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 75, 59, 0.08), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.section {
  scroll-margin-top: var(--header-height);
}

.section-heading h2 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.45;
}

.about {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(18px, 2.5vw, 40px);
  padding: clamp(100px, 13vw, 190px) var(--page-gutter);
}

.about__heading {
  grid-column: 2 / span 5;
}

.about__story {
  grid-column: 8 / span 4;
  align-self: end;
  max-width: 530px;
  padding-bottom: 24px;
  color: var(--brown-soft);
}

.about__story p {
  margin: 0;
}

.about__intro {
  margin-bottom: 24px !important;
  color: var(--brown);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.7;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  background: var(--ivory-deep);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__coffee {
  grid-column: 1 / span 7;
  height: min(62vw, 820px);
  margin-top: clamp(80px, 10vw, 150px);
}

.about__coffee img {
  object-position: center;
}

.about__note {
  grid-column: 9 / span 4;
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about__number {
  padding-top: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.about__note h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.55;
}

.about__note p {
  margin: 0;
  color: var(--brown-soft);
  font-size: 15px;
}

.about__sweets {
  grid-column: 7 / span 6;
  height: min(42vw, 570px);
  margin-top: clamp(100px, 13vw, 190px);
}

.about__note--second {
  grid-column: 2 / span 4;
  grid-row: 4;
  margin-top: 0;
}

.menu {
  padding: clamp(100px, 12vw, 170px) var(--page-gutter);
  background: var(--paper);
}

.menu__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.menu__message {
  max-width: 360px;
  margin: 0 7vw 16px 0;
  color: var(--brown-soft);
}

.menu-filter {
  display: flex;
  gap: 12px;
  margin: clamp(54px, 7vw, 92px) 0 0;
}

.menu-filter button {
  min-width: 112px;
  padding: 11px 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.menu-filter button[aria-pressed="true"],
.menu-filter button:hover {
  background: var(--green);
  color: #fff;
}

.menu-status {
  min-height: 1.9em;
  margin: 18px 0 4px;
  color: var(--brown-soft);
  font-size: 12px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 7vw, 110px);
  border-top: 1px solid var(--brown);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 220px;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
}

.menu-item[hidden] {
  display: none;
}

.menu-item__category {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.menu-item h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.menu-item__main > p:last-child {
  max-width: 430px;
  margin: 0;
  color: var(--brown-soft);
  font-size: 14px;
  line-height: 1.8;
}

.menu-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 28px 0 0;
  white-space: nowrap;
}

.menu-item__price span {
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 700;
  line-height: 1.2;
}

.menu-item__price small {
  margin-top: 5px;
  color: var(--brown-soft);
  font-size: 11px;
  font-weight: 600;
}

.info {
  padding: clamp(90px, 12vw, 170px) var(--page-gutter);
  background: var(--green);
  color: #f8f3e9;
}

.info__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: clamp(60px, 11vw, 180px);
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow--light {
  color: var(--green-light);
}

.info-list {
  align-self: end;
  margin: 0;
}

.info-list > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.info-list > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.info-list dt {
  color: var(--green-light);
  font-size: 13px;
}

.info-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.4;
}

.info__notice {
  grid-column: 2;
  max-width: 520px;
  margin: -20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr auto;
  align-items: end;
  gap: 40px;
  padding: 54px var(--page-gutter) 44px;
  background: var(--brown);
  color: #f8f3e9;
}

.site-footer__brand .brand__en {
  color: var(--green-light);
}

.site-footer__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-footer__meta p {
  margin: 0;
}

.photo-credit {
  margin-top: 8px !important;
  font-size: 10px;
}

.photo-credit a:hover {
  color: #fff;
}

.back-to-top {
  padding: 10px 0;
  color: var(--green-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(390px, 0.95fr) minmax(0, 1.05fr);
    min-height: 670px;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 50px);
  }

  .about__heading {
    grid-column: 1 / span 6;
  }

  .about__story {
    grid-column: 7 / span 6;
  }

  .about__note,
  .about__note--second {
    grid-column: 8 / span 5;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer__meta {
    grid-column: 1;
  }

  .back-to-top {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 22px;
    --header-height: 80px;
  }

  .site-header {
    position: relative;
    align-items: center;
  }

  .brand__ja {
    font-size: 20px;
  }

  .brand__en {
    font-size: 7px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-height));
  }

  .hero__copy {
    flex: 0 0 auto;
    padding: clamp(28px, 6svh, 54px) var(--page-gutter) 30px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(37px, 11.5vw, 48px);
    line-height: 1.34;
  }

  .hero__lead {
    margin: 16px 0 20px;
    font-size: 14px;
    line-height: 1.8;
  }

  .button-link {
    min-width: 190px;
    padding: 11px 17px;
    font-size: 13px;
  }

  .hero__visual {
    flex: 1 1 250px;
    min-height: 240px;
  }

  .hero__visual img {
    min-height: 100%;
  }

  .hero__visual figcaption {
    right: 14px;
    bottom: 12px;
    font-size: 9px;
  }

  .section-heading h2 {
    font-size: clamp(37px, 11vw, 48px);
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 90px var(--page-gutter);
  }

  .about__story {
    margin-top: 44px;
    padding: 0;
  }

  .about__coffee {
    order: 3;
    width: calc(100% + var(--page-gutter));
    height: 122vw;
    margin: 70px 0 0 calc(var(--page-gutter) * -1);
  }

  .about__note {
    order: 4;
    margin-top: 38px;
  }

  .about__sweets {
    order: 5;
    width: 86%;
    height: 78vw;
    margin: 88px 0 0 auto;
  }

  .about__note--second {
    order: 6;
    margin-top: 38px;
  }

  .about__note p {
    font-size: 14px;
  }

  .menu {
    padding: 90px var(--page-gutter);
  }

  .menu__top {
    display: block;
  }

  .menu__message {
    margin: 32px 0 0;
  }

  .menu-filter {
    gap: 7px;
    margin-top: 48px;
  }

  .menu-filter button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 5px;
    font-size: 12px;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-item {
    min-height: 0;
    gap: 16px;
    padding: 28px 0 26px;
  }

  .menu-item h3 {
    font-size: 22px;
  }

  .menu-item__main > p:last-child {
    font-size: 13px;
  }

  .menu-item__price {
    margin-top: 24px;
  }

  .menu-item__price span {
    font-size: 23px;
  }

  .info {
    padding: 88px var(--page-gutter);
  }

  .info__inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .info__notice {
    grid-column: 1;
    margin: -30px 0 0;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 46px var(--page-gutter) 38px;
  }

  .back-to-top {
    align-self: flex-end;
  }
}

@media (max-width: 370px) {
  .hero__copy {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero__lead br {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
