@font-face {
  font-family: "Standuct Sans";
  src: url("assets/standuct-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Standuct Sans";
  src: url("assets/standuct-bold.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --paper: #f7f4eb;
  --green: #0d4940;
  --green-dark: #10332d;
  --ink: #192722;
  --mute: #47534c;
  --lime: #e6efac;
  --line: #c4c8b8;
  --story-accent: #f4c58d;
  --curve: clamp(22px, 3.2vw, 48px);
  --side: clamp(22px, 4.45vw, 76px);
  --body: "Standuct Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.85 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
a:focus-visible { outline: 3px solid #ac4a26; outline-offset: 5px; }
.frame { width: min(100% - var(--side) * 2, 1320px); margin-left: auto; margin-right: auto; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: .7rem; }

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-block; width: fit-content; color: var(--green); font: 900 22px/1 Arial, var(--body); letter-spacing: -.054em; }
.proposal {
  color: var(--mute);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .03em;
}
.site-header nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header .nav-visit { padding: 0 12px; gap: 8px; color: var(--green); border: 1px solid var(--green); }

.masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(25px, 3.7vw, 53px) 0 clamp(22px, 3.15vw, 45px);
  gap: 20px;
}
.masthead-name {
  color: var(--green);
  font-family: Arial, var(--body);
  font-size: clamp(48px, 12.25vw, 188px);
  font-weight: 900;
  letter-spacing: -.079em;
  line-height: .74;
  margin-left: -.048em;
}
.masthead-location {
  flex: 0 0 auto;
  color: var(--mute);
  font-size: clamp(11px, 1.12vw, 15px);
  font-weight: 700;
  line-height: 1.55;
  text-align: right;
}
.hero-stage { position: relative; display: grid; align-items: center; }
.hero-photo { position: relative; width: 84%; margin-left: auto; background: #bdbaa7; }
.hero-photo img { height: clamp(410px, 42vw, 610px); object-fit: cover; object-position: 63% 50%; }
.hero-photo figcaption, .roast-photo figcaption {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 8px;
  background: #10332de8; color: var(--paper); font-size: 11px;
}
.hero-panel {
  position: absolute;
  left: 0;
  z-index: 1;
  width: clamp(296px, 35.5%, 486px);
  padding: clamp(29px, 4.2vw, 62px);
  background: var(--green); color: var(--paper);
}
.hero-panel h1 { font-size: clamp(39px, 5.15vw, 76px); font-weight: 900; line-height: 1.16; letter-spacing: -.088em; }
.hero-panel p { margin-top: 21px; font-size: clamp(12px, 1.21vw, 16px); line-height: 1.85; }
.hero-panel .action { margin-top: 28px; }
.hero-panel a:focus-visible, .footer a:focus-visible { outline-color: var(--lime); }
.action {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 51px; padding: 10px 15px;
  font-size: 13px; font-weight: 700; line-height: 1.5;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease;
}
.action span { font-weight: 900; font-size: 17px; }
.action-paper { background: var(--lime); color: var(--green-dark); }
.action-paper:hover { background-color: var(--paper); }
.action-green { background: var(--green); color: var(--paper); }
.action-green:hover { background-color: var(--green-dark); }
.action-outline { border-color: var(--green); color: var(--green); }
.action-outline:hover { background-color: var(--lime); }
.hero-details {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 9px 0 12px; border-bottom: 1px solid var(--line);
  color: var(--mute); font-size: 13px; line-height: 1.5;
}
.text-link {
  display: inline-flex; align-items: center; gap: 13px;
  min-height: 44px; padding: 5px 0;
  color: var(--green); font-size: 13px; font-weight: 700;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color .18s ease;
}
.text-link:hover { text-decoration-color: currentColor; }

.coffee {
  display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(31px, 7vw, 100px);
  padding: clamp(69px, 10vw, 145px) 0 clamp(67px, 8vw, 120px);
}
.section-label { font-size: 12px; font-weight: 700; letter-spacing: .11em; color: var(--green); }
.coffee h2, .story h2 { margin: 16px 0 22px; font-size: clamp(39px, 5.05vw, 74px); line-height: 1.24; letter-spacing: -.078em; }
.coffee-text { max-width: 32em; color: var(--mute); font-size: clamp(14px, 1.24vw, 17px); }
.coffee-copy .text-link { margin-top: 12px; }
.roast-photo { position: relative; background: #513529; }
.roast-photo img { height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: center 51%; }

.story { background: var(--green); color: var(--paper); padding-top: clamp(47px, 7.2vw, 105px); padding-bottom: clamp(54px, 7.7vw, 112px); }
.story .section-label { color: var(--lime); }
.story-layout {
  display: grid;
  grid-template-columns: 1.12fr .72fr 1fr;
  grid-template-areas: "title illustration copy";
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
}
.story h2 { grid-area: title; margin: 12px 0 0; font-size: clamp(37px, 4.14vw, 64px); }
.story-copy { grid-area: copy; max-width: 34em; font-size: clamp(14px, 1.22vw, 17px); }
.story-copy p + p { margin-top: 15px; }
.story-figure { grid-area: illustration; width: min(100%, 360px); justify-self: center; }
.story-figure img { height: auto; }
.story-figure figcaption { color: var(--paper); opacity: .85; font-size: 10px; line-height: 1.5; text-align: center; }
.story-route {
  display: grid;
  grid-template-columns: auto minmax(20px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(35px, 5.5vw, 79px);
  color: var(--lime);
}
.route-stop { display: grid; justify-items: start; align-content: start; text-align: left; }
.route-title { font-size: clamp(29px, 4.4vw, 63px); font-weight: 700; letter-spacing: -.06em; line-height: 1.08; }
.route-stop small { display: block; margin-top: 8px; font-size: clamp(11px, 1.3vw, 15px); font-weight: 400; letter-spacing: .015em; line-height: 1.45; }
.route-now { color: var(--story-accent); }
.route-now .route-title { margin-left: -.05em; }
.route-now small { color: var(--paper); }
.route-line { height: 1px; background: linear-gradient(90deg, var(--lime), var(--story-accent)); position: relative; }
.route-line::before, .route-line::after { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; content: ""; }
.route-line::before { left: 0; width: 7px; height: 7px; background: var(--lime); }
.route-line::after { right: 0; width: 10px; height: 10px; background: var(--story-accent); box-shadow: 0 0 0 4px var(--green), 0 0 0 5px var(--story-accent); }

.event { display: grid; grid-template-columns: minmax(174px, .32fr) 1fr; margin-top: clamp(49px, 7.6vw, 109px); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.event a:focus-visible { outline-offset: 2px; }
.event-date {
  display: grid; align-content: center; background-color: var(--lime); color: var(--green-dark);
  padding: clamp(22px, 4vw, 46px); border-radius: 0 var(--curve) var(--curve) 0;
}
.event-date p { font-size: 12px; font-weight: 700; }
.event-date time { display: grid; justify-items: start; gap: 5px; }
.event-date strong { font: 700 clamp(36px, 7vw, 101px)/.94 Arial, var(--body); letter-spacing: -.08em; }
.event-date time span { font-size: 12px; }
.event-copy { padding: clamp(22px, 3.7vw, 54px); }
.event h2 { font-size: clamp(28px, 3.5vw, 53px); line-height: 1.23; letter-spacing: -.06em; }
.event-copy > p { margin-top: 10px; font-size: 14px; color: var(--mute); }
.event-copy .text-link { margin-top: 4px; }

.visit { display: grid; grid-template-columns: 1.13fr .87fr; align-items: end; gap: clamp(25px, 8vw, 115px); padding-top: clamp(64px, 10vw, 145px); padding-bottom: clamp(65px, 9vw, 127px); }
.visit h2 { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 28px); color: var(--green); font-size: clamp(26px, 5vw, 72px); line-height: 1; letter-spacing: -.066em; }
.visit h2 strong { font: 900 clamp(77px, 12.4vw, 180px)/.86 Arial, var(--body); letter-spacing: -.063em; }
.visit .address { margin-top: 19px; color: var(--mute); font-size: 14px; }
.visit-links { display: grid; gap: 8px; }
.visit-links .action { padding-left: 20px; padding-right: 17px; border-radius: 999px; }
.visit-links h3 { font-size: 18px; }
.visit-links p { margin-bottom: 4px; font-size: 14px; color: var(--mute); }
.footer { background: var(--green-dark); color: var(--paper); }
.footer-inner { padding: 32px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer .brand, .footer .text-link { color: var(--lime); }
.footer p:last-child { font-size: 10px; margin-top: 8px; }

@media (max-width: 880px) {
  .site-header { grid-template-columns: auto 1fr; gap: 6px 15px; padding: 10px 0; }
  .site-header nav { grid-column: 2; grid-row: 1 / 3; }
  .proposal { grid-column: 1; grid-row: 2; }
  .hero-photo { width: 88%; }
  .hero-photo img { object-position: 67% 50%; }
  .coffee { gap: 35px; }
  .story-layout { grid-template-columns: 1fr 1fr; grid-template-areas: "title copy" "illustration copy"; gap: 12px 28px; }
  .story-figure { width: min(83%, 280px); justify-self: start; }
  .visit { gap: 32px; }
}

@media (max-width: 600px) {
  .site-header { min-height: 67px; padding: 8px 0; gap: 3px 8px; }
  .site-header .brand { font-size: 16px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: 11px; }
  .site-header nav a:nth-child(2) { display: none; }
  .site-header .nav-visit { padding: 0 9px; gap: 5px; }
  .proposal { font-size: 9px; }
  .masthead { display: grid; gap: 12px; padding: 28px 0 16px; }
  .masthead-name { font-size: clamp(47px, 14.94vw, 81px); }
  .masthead-location { text-align: left; }
  .masthead-location br { display: none; }
  .hero-stage { align-items: stretch; }
  .hero-panel { position: relative; width: 100%; padding: 25px 23px; }
  .hero-panel h1 { font-size: clamp(43px, 11vw, 59px); }
  .hero-panel p { margin-top: 14px; }
  .hero-panel .action { margin-top: 16px; }
  .hero-photo { width: 100%; }
  .hero-photo img { height: clamp(215px, 65vw, 360px); object-position: 61% center; }
  .hero-details { flex-wrap: wrap; gap: 0 12px; padding: 11px 0 4px; font-size: 12px; }
  .hero-details .text-link { min-height: 44px; font-size: 12px; }
  .coffee { grid-template-columns: 1fr; gap: 23px; padding: 64px 0; }
  .coffee h2, .story h2 { margin: 12px 0 14px; font-size: clamp(35px, 9.3vw, 53px); }
  .roast-photo img { aspect-ratio: 1.38; }
  .story { padding: 43px 0 54px; }
  .story-layout { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "illustration"; gap: 0; }
  .story-copy p + p { margin-top: 12px; }
  .story-figure { width: min(76%, 280px); justify-self: center; margin-top: 18px; }
  .story-route { margin-top: 29px; }
  .event { grid-template-columns: 1fr; margin-top: 56px; }
  .event-date { gap: 4px; border-radius: 0 0 var(--curve) 0; }
  .event-date time { display: flex; align-items: baseline; gap: 10px; }
  .event-copy { padding-top: 18px; padding-bottom: 9px; }
  .visit { grid-template-columns: 1fr; gap: 28px; padding: 61px 0 69px; }
  .visit h2 { margin-top: 5px; }
  .visit-links .action { min-height: 49px; }
}

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